Skip to content

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

@AndyBoyet

Description

@AndyBoyet

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 username@domain.com
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

Metadata

Metadata

Assignees

Labels

GCC/GCCHGCC or GCCH tenantbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions