PowerShell Authentication for Microsoft Cloud Services: The Proper Way
💡 Introduction This method is particularly well-suited for interactive scripts where users actively participate in the authentication process, ensuring that the connection and access rights are directly linked to their individual accounts. It’s important to note that while device code authentication is excellent for interactive script scenarios (in Powershell for instance), for application use, it is recommended to take a different approach. For applications, the authentication method and implementation is always (to the best of my knowledge) provided when creating the application in the Azure portal....