I have got a service account (Windows AD Data Mgmt) from the company admin so that I can do the following using PowerShell:
- Login(
Connent-PnPOnline
) to a SharePoint site. - Download a file and process it further.
I can login to that SharePoint site using my personal account through PowerShell. Now I want to use the service account instead. Do I have to generate a key for it and if yes, how to do that?
My personal account is registered to that private group which has the SharePoint site. And This is why I can connect it.
Some hint is requested.