spadmin
spadmin copied to clipboard
Connect-AzureAD.ps1 only works if powershell session runs in local admin priviledge
Hello,
There are 2 mains parts in the code :
- First part sets up everything. To create a local store certificate it has to run under local admin. That's OK as it runs only once
- Second one is using certificate to automate logon without password or MFA. It seems that this part also need to run under local admin, and this can be an issue. It there a workaround ?