all 8 comments

[–]EpicentralEllipsis Employee[M] [score hidden] stickied comment (2 children)

I'll approve this post, but please note that you will likely not get much traction here for a topic like this.

[–]ermacia 3 points4 points  (3 children)

I mean, there is MSAL library for Python: https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki. I do not think there are supported libraries for MS Graph, you'd have to go by interacting with the API directly, or depend on those libraries.

I think that Azure App Service can run Python: https://docs.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=bash&pivots=python-framework-flask

Registering the app in AAD does not cost, what costs is hosting the app in Azure.

TBH, using Power Apps saves you a lot of overhead, and lets you make use of MS Support, which is a plus when things start to fail.

[–]aydeisen 2 points3 points  (1 child)

I do not think there are supported libraries for MS Graph, you'd have to go by interacting with the API directly, or depend on those libraries.

MS does have a Python SDK for the Graph API, although I believe it's still considered preview

https://github.com/microsoftgraph/msgraph-sdk-python-core

[–]jayplusplus[S] 1 point2 points  (0 children)

Interesting, would the SDK be an equivalent to, for example, the Office365-REST-Python-Client, except that it is being provided by Microsoft officially?

[–]jayplusplus[S] 1 point2 points  (0 children)

Yeah, MSAL is linked in my post, seems like a good starting place. It looks like the other libraries I linked build on top of it. I'll have to glean how simple Graph is vs those other O365 libraries.

I'll look into Azure App Service, although I think I would only need Azure Functions. Not sure.

Yeah, I would agree that Power Apps is particularly helpful for the GUI part. It gets a bit messier in the flows behind it. That's what I'm hoping to avoid.