pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 662 forks source link

[BUG] GCC High client tokens Confidential Client is not supported in Cross Cloud request #3042

Open id-idg opened 3 years ago

id-idg commented 3 years ago

Reporting an Issue or Missing Feature

Reporting an issue

Expected behavior

Connect to Sharepoint USGovernment tenant via app registration (GCC High)

Actual behavior

Apply-PnPProvisioningTemplate : AADSTS900382: Confidential Client is not supported in Cross Cloud request image

Steps to reproduce behavior

Connect-PnPOnline -Url https://[TENANT].sharepoint.us/ -ClientId [id] -ClientSecret [secret] -AzureEnvironment USGovernment Apply-PnPProvisioningTemplate -Path .\ContosoLanding.pnp

Which version of the PnP-PowerShell Cmdlets are you using?

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

3.28.2012.0

How did you install the PnP-PowerShell Cmdlets?