azidext | Extensions to the Azure.Identity libraries | Azure library
kandi X-RAY | azidext Summary
kandi X-RAY | azidext Summary
Extensions to the Azure.Identity libraries
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azidext
azidext Key Features
azidext Examples and Code Snippets
Community Discussions
Trending Discussions on azidext
QUESTION
I have a function app in azure that needs to read AAD group information. This function app has system assigned managed identity enabled and the MSI has Directory.ReadAll permission on Microsoft Graph.
I use this code to get list of AAD Groups:
...ANSWER
Answered 2021-Dec-14 at 22:14It was a firewall issue. Whitelisting https://graph.windows.net in the firewall resolved the issue. Also, in order to use graph.windows.net, the MSI associated with the app needs Azure active directory graph Directory.ReadAll access.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azidext
Create a service principal with az ad sp create-for-rbac
Rename .env.tmp to .env and update the the following values from the SP AZURE_CLIENT_ID=appId AZURE_CLIENT_SECRET=password AZURE_TENANT_ID=tenantId
Run az account show to get your subscription id and update the .env file with that. AZURE_SUBSCRIPTION_ID=
Deploy the Service Bus resources with terraform files in iac/terraform Open variables.tf and change the basename value to something unique. Run the following commands: terraform init terraform plan --out tf.plan terraform apply tf.plan
Update AZURE_BASE_NAME in .env file to the base name you used for terraform deployment AZURE_BASE_NAME=azidexttest1
See each language "Test" section above for instructions on how to run the tests.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page