pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets

Home Page:https://pnp.github.io/powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

id-idg opened this issue · comments

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?

  • PnP PowerShell for SharePoint 2013
  • PnP PowerShell for SharePoint 2016
  • PnP PowerShell for SharePoint 2019
  • PnP PowerShell for SharePoint Online

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

3.28.2012.0

How did you install the PnP-PowerShell Cmdlets?

  • MSI Installed downloaded from GitHub
  • Installed through the PowerShell Gallery with Install-Module
  • Other means