TheNetworg / oauth2-azure

Azure AD provider for the OAuth 2.0 Client.
https://packagist.org/packages/thenetworg/oauth2-azure
MIT License
229 stars 108 forks source link

Azure Graph is being deprecated in June 2023. Please use Microsoft Graph. #177

Open fstark-fms opened 1 year ago

fstark-fms commented 1 year ago

https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-change-management-simplified/ba-p/2967456

https://learn.microsoft.com/en-us/graph/migrate-azure-ad-graph-overview

Please remove the use of Azure Graph and force the use of the Microsoft graph, which you added as an option.

Molkobain commented 1 year ago

+1 the deadline is closing fast even though we don't know when they will pull the plug for real.

hajekj commented 1 year ago

I don't think there's actually any hard dependency on Azure Graph API. Unless you are calling Azure Graph via API calls, which you still need to resolve on your own, since changing it for Microsoft Graph would be breaking as well. However I agree we should update the documentation (README), and once the service is defunct, we should release a new version which replaces graph.windows.net for graph.microsoft.com.

elmonty commented 1 year ago

There are user properties that I need to access that can only be gotten with graph.microsoft.com. So this library is making things difficult. I have spent all day trying to get this to work.