Office Graph API it's a great mechanism to gather information related to users that you have inside the organization. It is easily integrated with other application that needs to fetch user information and user activity.
The security and management layer that it is built on top of it allows us to have a more granular control related to what data we share with different applications or users in comparison with offering access to AD or similar systems.
In this post, we will talk about employeeId that represents the unique ID that each user has inside the organization. It is used to identify a unique user and can be used to fetch data from other systems. The property is part of User resource type and in theory, can be accessed easilty using a call like the one below.
https://graph.microsoft.com/v1.0/me
Unfortunately, you will discover that you cannot find the employeeId in the result. The cause is not related to our rights/access level that you have. The cause is that this field is not by default returned. If you want to include it you would need to make a call similar to this one
https://graph.microsoft.com/v1.0/me?$select=employeeId
Where you explicit requited this field to be fetched from the Office 365 Graph.
The security and management layer that it is built on top of it allows us to have a more granular control related to what data we share with different applications or users in comparison with offering access to AD or similar systems.
In this post, we will talk about employeeId that represents the unique ID that each user has inside the organization. It is used to identify a unique user and can be used to fetch data from other systems. The property is part of User resource type and in theory, can be accessed easilty using a call like the one below.
https://graph.microsoft.com/v1.0/me
Unfortunately, you will discover that you cannot find the employeeId in the result. The cause is not related to our rights/access level that you have. The cause is that this field is not by default returned. If you want to include it you would need to make a call similar to this one
https://graph.microsoft.com/v1.0/me?$select=employeeId
Where you explicit requited this field to be fetched from the Office 365 Graph.
Comments
Post a Comment