23 votes5 comments · ShareGate migration tool Suggestions » 14- Connect to SharePoint and Office 365 · Flag idea as inappropriate… · Admin →
An error occurred while saving the commentAnonymous commented
For unattended workloads, like automated reports and backup run from, or DTAP, with Powershell I think it's really needed to have an AppID + Secret/Certificate as login option for SG Powershell. Microsoft is more or less forcing tenants in using these and they are much safer than to store admin username/passwords in scripts.
More and more clients have set their tenants such that the username/password simply returns 'You are not authorized', making the browser option the only option left. In unattended situations this is not an option..
A workable alternative would be to setup a Connection in PnP Powershell and re-use that connection in SG Powershell