question

sns1 avatar image
0 Votes"
sns1 asked YiLu-MSFT commented

Althouh connected pnp powershell sucessfully, template complete commad is not recogizing

I connected SharePoint site collection using PnP in the SharePoint online Powershell, it is sucessful
However I am not able to connect or execute get-pnpsite template, PFA
Please help me on this. Also please clarify where exactly template details stores in a system?
123263-capture.png


& second question, after sometime I was facing not able to connect pnp powershell itsef PA screeshot (c2)
123281-c2.png


& last while trouble shouting, PFA
123244-whiletroubleshooting.png


office-sharepoint-online
capture.png (41.0 KiB)
c2.png (48.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sns1 avatar image
0 Votes"
sns1 answered YiLu-MSFT commented

HI YiLu,

Fix mentioned in the below thread fixed. Fix was given by TylerH.
https://docs.microsoft.com/en-us/answers/questions/218696/pnp-error-when-connect-pnponline.html

Thank you for follow up and support.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sns1
Congratulations to you to resolve the issue. I have converted your comment to answer, please accept your answer so that it can help more people who meet the same issue.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 Vote 1 ·
SerkarAydin avatar image
0 Votes"
SerkarAydin answered

Hi @sns1 it looks like you have not registered the app. I wrote a post where I described how you can connect. Hopefully it helps you:

https://sposcripts.com/connecting-to-sharepoint-online/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RavikumarPasupuleti avatar image
0 Votes"
RavikumarPasupuleti answered

Hi,

Uninstall SharePointOnlinePowerShell and intsall PnP.PowerShell and Get-PnPSiteTemplate should work.

Thanks
Ravi

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.