This is a great resource !! it's difficult to find good explanations or even like documentation like this !
@GG-kc6ie10 ай бұрын
Great tutorial. This is a dumb question but how is this more secure than running a powershell script without creating an app registration. Eg enabling my role in PIM then running the powershell script where i get asked to authenticate to Azure AD, since my authenitcation is encrypted how is this more convenient or secure because if somebody is sitting at your machine they can simple run the script and oauth grants them the permission to do whatever without prompting them for a password or mfa. Sorry its probably a stupid question but I dont understand how this is better besides maybe being more granular with the permissions