Referencing a Managed Service Identity in ARM-template deploy
问题 When deploying a Microsoft.Web resource with the new MSI feature the principleId GUID for the created user is visible after deployment. Screenshot below shows the structure in the ARM-template. What would be the best way to fetch this GUID later in the pipeline to be able to assign access rights in (for instance) Data Lake Store? Is it possible to use any of the existing ARM template functions to do so? 回答1: I just struggled with this myself. The solution that worked for me was found deep in