Hello John Maria Antony,
I understand you are trying to confirm whether the PowerShell script for deploying custom policies with Azure Pipelines is still using Azure AD Graph. I checked the script from the article you mentioned, and it is already using Microsoft Graph.
To clarify, Azure AD Graph is the older API with the endpoint https://graph.windows.net
, while Microsoft Graph is the newer API with the endpoint https://graph.microsoft.com
. Microsoft Graph provides access to a wider range of Microsoft 365 services and is the supported option going forward.
Since your script uses the Microsoft identity platform v2.0 token endpoint and calls https://graph.microsoft.com
, there’s no need for any changes related to the Graph API migration.
Hope this clarifies things a bit!
If this answer was helpful, please click "Accept the answer" and mark Yes
, as this can help other community members.
If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.