Connect-MgGraph – Using a Service Principal [PowerShell]
Recently I had the need to write a script to query and set data in Azure AD using PowerShell. I didn’t want to create or use a user account, using hard coded credentials in a script is never a clever …