Skip to content

Conversation

@TekExpo
Copy link
Contributor

@TekExpo TekExpo commented Mar 21, 2025

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

What is in this Pull Request ?

If the user follows the exact steps mentioned in the blog post then there is an error - "Unauthorized (401): ArgumentNull"

In the code snippet:
Connect-PnPOnline -ManagedIdentity

Changing it to:
Connect-PnPOnline tenant.sharepoint.com -ManagedIdentity

Without the "tenant.sharepoint.com" parameter the code throws an error - "Unauthorized (401): ArgumentNull"

TekExpo and others added 2 commits March 20, 2025 20:06
In the code snippet : 
Connect-PnPOnline tenant.sharepoint.com -ManagedIdentity

Without the "tenant.sharepoint.com" parameter the code throws an error - "Unauthorized (401): ArgumentNull"
@KoenZomers
Copy link
Collaborator

Thanks @TekExpo!

@KoenZomers KoenZomers merged commit dc8904d into pnp:dev Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants