How to fetch Puid format of User IDs?

Susheng Shi 21 Reputation points
2022-04-01T15:50:16.673+00:00

In my team, there is a need to fetch a list of users' Puid. However, I only see the OCID (guid format) is returned by the API.
For example, my ID returned by the API is d17e3936-4946-4950-8293-6a9a1c3b292a. However, what I am looking for is "1003BFFD8BC04959", which is widely used in our telemetry in Office product.

Is there a way to convert or fetch the Puid?

Thanks,
Susheng

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,125 questions
0 comments No comments
{count} votes

Accepted answer
  1. 2022-04-05T09:39:32.157+00:00

    Hi @Susheng Shi ,

    PUID/NetID was removed from Graph API and there are currently no plans on resurfacing it. The recommendation for apps is to rely on TenantID and ObjectID to identify users and stop relying on PUID/Net ID. I think there is also no way of converting guid to puid.
    Hope this helps.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful