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

[BUG] Get-PnPAzureADUser fails in GCC High #3478

Closed
AndyBoyet opened this issue Oct 10, 2023 · 0 comments · Fixed by #3484
Closed

[BUG] Get-PnPAzureADUser fails in GCC High #3478

AndyBoyet opened this issue Oct 10, 2023 · 0 comments · Fixed by #3484
Assignees
Labels
bug Something isn't working GCC/GCCH GCC or GCCH tenant

Comments

@AndyBoyet
Copy link

AndyBoyet commented Oct 10, 2023

Reporting an Issue or Missing Feature

Get-PnPAzureADUser fails in GCC High

Expected behavior

Return AzureAD User objects

Actual behavior

PS C:\Users\username> Get-PnPAzureADUser -Identity [email protected]
Get-PnPAzureADUser: Code: generalException
Message: Location header not present in redirection response.

Steps to reproduce behavior

$siteurl = "https://tenant-admin.sharepoint.us"
connect-PnPOnline -Url $SiteURL -Interactive -ClientId 00000000-0000-0000-00000000 -Tenant tenant.onmicrosoft.com -AzureEnvironment USGovernmentHigh

What is the version of the Cmdlet module you are running?

2.2.0

Which operating system/environment are you running PnP PowerShell on?

  • [X ] Windows
@AndyBoyet AndyBoyet added the bug Something isn't working label Oct 10, 2023
@AndyBoyet AndyBoyet changed the title [BUG] Get- [BUG] Get-PnPAzureADUser fails in GCC High Oct 10, 2023
@veronicageek veronicageek added the GCC/GCCH GCC or GCCH tenant label Oct 10, 2023
@gautamdsheth gautamdsheth self-assigned this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GCC/GCCH GCC or GCCH tenant
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants