big-sugar-9293201/21/2022, 8:26 PM
clever-sunset-7658501/21/2022, 9:21 PM
property. There should be a similar property in the Azure Classic provider too.
big-sugar-9293201/21/2022, 9:23 PM
clever-sunset-7658501/21/2022, 9:31 PM
repo at https://github.com/pulumi/examples. Try searching for
. They might help you down the right path. Specifically knowing these things about what you are trying to do would be helpful • Are you trying import an existing resource that was created through some other way and trying to get its principal ID? • Does the existing app service use an identity?
big-sugar-9293201/21/2022, 11:32 PM
clever-sunset-7658501/22/2022, 12:19 AM
(https://www.pulumi.com/registry/packages/azure-native/api-docs/web/getwebapp/). The link is for the Azure Native provider but if you are the Azure Classic provider there should be a similar one in that provider too. Lastly, I highly recommend going through the Get Started tutorial for Azure if you haven’t done that already.
should have an
property that will give you the managed system identity that the app service is using.
big-sugar-9293201/22/2022, 12:47 AM
clever-sunset-7658501/22/2022, 12:50 AM