Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static references to graph.microsoft.com in OData break Government compare checks - Entra #5342

Closed
mpoulson opened this issue Nov 6, 2024 · 0 comments · Fixed by #5341 or #5346
Closed
Labels
Bug Something isn't working Entra ID

Comments

@mpoulson
Copy link
Contributor

mpoulson commented Nov 6, 2024

Description of the issue

Static ODATA references to graph.microsoft.com break when Azure Gov returns values with .us TLD.

Need to use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl rather than using https://graph.microsoft.com in ODATA URIs

  1. AADApplication
  2. AADEntitlementManagementAccessPackage
  3. AADEntitlementManagementConnectedOrganization
  4. AADServicePrincipal

Microsoft 365 DSC Version

Dev

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

mpoulson added a commit to mpoulson/Microsoft365DSC that referenced this issue Nov 6, 2024
@ykuijs ykuijs added Bug Something isn't working Entra ID labels Nov 6, 2024
@ykuijs ykuijs closed this as completed in 4cc761c Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Entra ID
Projects
None yet
2 participants