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
- 1. Thanksgiving 2.4M posts
- 2. Packers 64.5K posts
- 3. Dan Campbell 7,120 posts
- 4. #GoPackGo 10.9K posts
- 5. Wicks 11.2K posts
- 6. Jordan Love 16.4K posts
- 7. Micah Parsons 11.6K posts
- 8. Goff 11.3K posts
- 9. Jack White 9,555 posts
- 10. Kenneth Murray N/A
- 11. McDuffie 2,930 posts
- 12. #ChiefsKingdom 3,850 posts
- 13. Kelce 11.8K posts
- 14. Watson 15.8K posts
- 15. Caleb Wilson 1,162 posts
- 16. Jamo 5,277 posts
- 17. Turkey 307K posts
- 18. #KCvsDAL 3,050 posts
- 19. Thankful 493K posts
- 20. Green Bay 9,032 posts
Something went wrong.
Something went wrong.