Our team is using Azure PowerShell to create and initialize Linux VMs. I'm not at all familiar with Azure, but trying to help someone else set this up. Is there a way to provide a custom authorized_keys file and have Azure PowerShell drop it in ~/.ssh? We want this to occur automatically upon creation.
As @modo has mentioned in comment, you are able to use "custom script extension" to achieve this goal.
If you are using ARM VM:
If you are using ASM VM: