Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Connect-PnPOnline : Example 8 Parameter set cannot be resolved #2352

Open
2 of 6 tasks
gobigfoot opened this issue Nov 12, 2019 · 2 comments
Open
2 of 6 tasks

Connect-PnPOnline : Example 8 Parameter set cannot be resolved #2352

gobigfoot opened this issue Nov 12, 2019 · 2 comments

Comments

@gobigfoot
Copy link

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?

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

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?

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

ghost commented Nov 12, 2019

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Nov 12, 2019
@gobigfoot
Copy link
Author

The command will run without specifying the -AzureEnvironment flag, but does not properly resolve the endpoint login.microsoft.us. See Core update pnp/PnP-Sites-Core@eecd0e1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant