We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using Get-PnPAccessToken with a custom ResourceUrl, it fails to retrieve an AccessToken.
An Access Token is successfully retrieved
An error occurs: "Get-PnPAccessToken: Object reference not set to an instance of an object."
Get-PnPAccessToken -ResourceUrl "8547a1ea-5b5f-48ef-a668-d27fa4e391d6/.default" -Connection $ProvisioningClientConnection
The Following Error gets thrown: Get-PnPAccessToken: Object reference not set to an instance of an object.
2.1.1
The text was updated successfully, but these errors were encountered:
Fix pnp#3089: issue with retrieving access token for specified resour…
6a18762
…ce URL
Fix #3089: issue with retrieving access token for specified URL. (#3091)
c71bc4f
* Feature: additional params to Set-PnPTenantSite and Set-PnPSite cmdlet * Fix #3089: issue with retrieving access token for specified resource URL * Update CHANGELOG.md --------- Co-authored-by: Gautam Sheth <[email protected]>
Yikes, was a nasty regression ! Fixed it, will be available in tomorrow's nightly. Thanks for pointing it out.
Sorry, something went wrong.
Awesome. Thanks for the quick fix!
gautamdsheth
Successfully merging a pull request may close this issue.
Reporting an Issue or Missing Feature
When using Get-PnPAccessToken with a custom ResourceUrl, it fails to retrieve an AccessToken.
Expected behavior
An Access Token is successfully retrieved
Actual behavior
An error occurs: "Get-PnPAccessToken: Object reference not set to an instance of an object."
Steps to reproduce behavior
The Following Error gets thrown:
Get-PnPAccessToken: Object reference not set to an instance of an object.
What is the version of the Cmdlet module you are running?
2.1.1
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: