You're using the Azure Native provider here, so everything should map exactly to Microsoft's own SDK examples. I'm not familiar with the Microsoft docs and examples, but it looks like the commands on this page could be reverse engineered into SDK equivalents, which would be the same as in Pulumi:
https://docs.microsoft.com/en-us/azure/app-service/tutorial-auth-aad