This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm following this tutorial for listing all of the storage accounts in my subscription. Previously I used Microsoft.Azure.Management.Fluent however this is now deprecated so that's the reason for switching to the new approach suggested by Microsoft. I had no issues with Microsoft.Azure.Management.Fluent but now I can't authenticate using my DefaultAzureCredential that is later on used as an input of ArmClient. Locally this woks but not when I deploy it. I have my Managed Identity switched ON for my App Service that contains the code that calls the function for listing storage accounts but still doesn't work. I spent my last two days in searching for the right permissions and how to set them but failed. Funny enough is that, from the previous experience when authentication against some Azure Service failed, I faced an error message all the time but not in this case. Has someone used this functionality in cloud and what did you do to make it work?
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/AZURE/comme...