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

Portal links in docs should work for GovClouds and other non-public clouds #592

Open
benatsb opened this issue Dec 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working entra Microsoft Entra

Comments

@benatsb
Copy link

benatsb commented Dec 15, 2024

The links presented for graph objects in reporting from

are coded to '.com'. When working within Azure Government the '.us' endpoints must be used.

The TLD could be selected based on the context of the session such as in Invoke-MtGraphRequest.

$__MtSession.GraphBaseUri = $((Get-MgEnvironment -Name (Get-MgContext).Environment).GraphEndpoint)

@merill merill added bug Something isn't working entra Microsoft Entra labels Dec 17, 2024
@merill merill changed the title Graph Object Link Template Values Incorrect Portal links in docs should work for GovClouds and other non-public clouds Dec 17, 2024
@merill
Copy link
Contributor

merill commented Dec 17, 2024

That's a good point. We didn't think of this. Thanks for the call out.

The fix would be to add a new cmdlet that returns the gov cloud specific portal link and then call that in Get-GraphObjectMarkdown plus other places where we show links.

@merill merill self-assigned this Dec 17, 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 Microsoft Entra
Projects
None yet
Development

No branches or pull requests

2 participants