Using graph API you can access all the Active directory attributes. The me endpoint gives your profile information https://graph.microsoft.com/v1.0/me. To get a specific user’s information the endpoint should be https://graph.microsoft.com/v1.0/users/useremailaddress
For getting any specific AD attribute you can pass the required attribute as a query string
Continue Reading ashiqf’s Article on their blog
Access Active Directory user profile attributes using Graph API
Using graph API you can access all the Active directory attributes. The me endpoint gives your profile information https://graph.microsoft.com/v1.0/me. To get a specific user’s information the endpoint should be https://graph.microsoft.com/v1.0/users/useremailaddress For getting any specific AD attribute you can pass the required attribute as a query string https://graph.microsoft.com/v1.0/me?$select=jobTitle,department,displayName In bigger active directory implementation, there will also…
Blog Syndicated with ashiqf’s Permission
More About This Author
Array
- Power Automate31 March 2024Unlocking Snowflake Data Integration in Power Platform: Out of the box Snowflake connector – Part 3
- Power Automate31 March 2024Unlocking Snowflake Data Integration in Power Platform: Manipulating Snowflake REST API response in Custom Connector – Part 2
- Power Automate31 March 2024Unlocking Snowflake Data Integration in Power Platform: Using Custom Connector with Snowflake REST API – Part 1
- Power Automate29 February 2024Text-to-Speech and Audio Playback in Power Apps using Azure and Power Automate