Share via

UserID using the reporting API and Graph API in the same tenant do not match

Patrik Grönholm 0 Reputation points
2024-03-20T08:15:36.9233333+00:00

Hi,

We are working with a client who wants to modify the existing Power BI M365 Usage Analytics Report by adding data from Entra using the Graph APIs. Since the logical connection would be to build a relationship using the UserID string between the two different APIs , we noticed that the UserID strings didn't match at all. We also tried using UPN, but that is not a very liable solution since there might be different values for the same user.

The documentation says the following:

UserId Unique user ID that represents a user and enables joining with other data tables within the data set.

UPN User principal name, uniquely identifies the user to be able to join with other external data sources.

What would be the right way to combine user data between the two different APIs?

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.