spadmin icon indicating copy to clipboard operation
spadmin copied to clipboard

Connect-AzureAD.ps1 only works if powershell session runs in local admin priviledge

Open lfrancfort opened this issue 3 years ago • 0 comments

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 ?

lfrancfort avatar Oct 13 '22 07:10 lfrancfort