Abstract series coefficient won't evaluate

I’m trying to evaluate the following on Wolfram Cloud and mathematica 11.2:

SeriesCoefficient[x^m, {x, 0, p}, Assumptions -> Element[{p, m}, Integers]]

The answer should be the dirac delta but it’s returning unevaluated.
Looks like someone else is having the same problem:

https://mathematica.stackexchange.com/questions/166661/seriescoefficient-returns-unevaluated

How can I fix this problem?