Open gobigfoot opened 4 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
The command will run without specifying the -AzureEnvironment flag, but does not properly resolve the endpoint login.microsoft.us
. See Core update https://github.com/SharePoint/PnP-Sites-Core/commit/eecd0e1d3662ef71c13989b83f9aca41178755e3
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Connect to Sharepoint USGovernment tenant via App Registration
Actual behavior
Connect-PnPOnline : Parameter set cannot be resolved using the specified named parameters.
Steps to reproduce behavior
Connect IAW Documentation Example 8
Connect-PnPOnline -Url https://contoso.sharepoint.de -AppId 344b8aab-389c-4e4a-8fa1-4c1ae2c0a60d -AppSecret a3f3faf33f3awf3a3sfs3f3ss3f4f4a3fawfas3ffsrrffssfd -AzureEnvironment Germany
Connect-PnPOnline -Url https://[TENANT].sharepoint.us -AppId [APPGUID] -AppSecret [APPSECRET] -AzureEnvironment USGovernment
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name *pnppowershell* -ListAvailable
)3.15.1911.0
How did you install the PnP-PowerShell Cmdlets?