Hi Klein, John,
Per my test, the latest version of SharePointPnPCoreOnline doesn't contain authManager.GetWebLoginClientContext(siteUrl);
. This function has been deleted.
I will recommend you to use app-only for authentication:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
Since you don't want to use app, the only way is to use old version pnpcore. You can follow the steps
- Go to Manage NuGet Packet.
- choose older version such as 3.25
- Now the
authManager.GetWebLoginClientContext(siteUrl)
is available
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.