Forum Discussion
Lokeswar_Reddy
Jun 23, 2022Copper Contributor
Connect-PnPOnline : Object reference not set to an instance of an object.
I am not able to connect sharepoint site, getting an error like as
Connect-PnPOnline : Object reference not set to an instance of an object.
could anyone help me on the same.
4 Replies
- How do you connect? Using a browser login or an app registration? Perhaps this will help? https://sharepoint.stackexchange.com/questions/288989/connect-pnponline-pnpo365managementshell-launchbrowseris-raising-this-error
- Lokeswar_ReddyCopper Contributor
Hi Harm_Veenstra,
Actually i traied both options, using Launchbrowser and weblogin, but I am unable to connect to sharepoint site,
for weblogin error.
For launch browser,
Sometimes it will be blank screen, otherwise it will be legacy warning.
- And if you follow the error message, uninstall-module and install-module... Does that work?