Hey @Azure peeps, can someone point me to a resource on how to make #AzureResourceManager calls from inside @AzureFunctions? Most of my searches are finding creating APIs with #AzureAPIM from an #AzureFunction serverless app.


Are you looking to create APIs, or looking for to create/access any resource?


Yes. Basic idea is a Function (so, API) that can use the resources manager to verify things exist, update configuration settings, and maybe create new things. So, I was hoping there was an easy way to say "this is running in the RG, so run under those permissions"


You’ll need to assign the right permissions to the assigned managed identity, then you can make all the API calls you want. You’ll want to make sure to restrict who can call the function too.


United States Trends
Loading...

Something went wrong.


Something went wrong.