Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
How to reset "Connect-PnPOnline –Url https://xxx.sharepoint.com/ -UseWebLogin"? #1656
Reporting an Issue or Missing Feature
I want to connect with:
But the user has not the needed rights. Is there any way to reset this and enter login credentials in the web form again?
Maybe a -resetCredentials param that deletes auth cookies?
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
How did you install the PnP-PowerShell Cmdlets?
Because my windows user is the same (on my work machine) as my normal login, it forces me to always log in with that. I also have an admin user, but I never get the option to log in with that. Tried logging out and clearing cache in Internet explorer and Edge, but it didn't work. Any other ideas to force a new login? I think with the Connect-SPOnline you can enter just a username so that when it asks for you to log in, it's as that user. Is there a way to do that in PnPOnline with -UseWebLogin on? Or a way to use the default browser instead of IE?