I'm trying to use a Microsoft.Resources/deploymentScripts in my ARM template that will execute some Azure Powershell commands.
Obviously, without specifying any identity attribute, I need to run Connect-AzAccounts in my script.
My question is, how can I retrieve the Service Principal credentials and pass this to my ARM DeploymentScripts?