Replies: 2 comments
-
Closing it as issue, moving it to discussion |
Beta Was this translation helpful? Give feedback.
-
Hi I raised this last year in Issue #383 and tried to exact same thing with Get-PnPList and it didnt work. I also blogged about it (link) Erwin said
I think it is on the future roadmap to move PnP.PowerShell to predominately use Graph instead of CSOM but this is likely to be a long time as Graph is nohere near full feature parity for SharePoint compared to CSOM. Thanks Leon |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am using ClientID and ClientSecret of SharePoint Add-in to connect with PNP.Powershell but now i am getting warning for Legacy Authentication (because of secret) ,
So to resolve this we are moving towards certificates so that it will not get stop working one day and for resolving when
I am trying to Read / Write data in SP site using PNP.PowerShell with and Azure AD App having Sites.Selected Permission. I generated the token using client id and certificate and get the data using Graph API (Invoke-WebRequest) method
When i use the same token in PNP.Powershell using
Connect-PnPOnline -Url $siteURL -AccessToken $accessToken
it connected but not giving any result in Get-PnpList it gives me 401 .
so please update on the future releases if it is planned for executing the the Graph API Sites.Selected permission with Connect-PnpOnline., if yes please update when this will get released.
Also please update when this secret things will get stopped.
Beta Was this translation helpful? Give feedback.
All reactions