Forum Discussion
johnjohn-Peter
Apr 09, 2025Iron Contributor
How to get a user P.O. Box from Active directory using Graph API
Inside our Active Directory, we have this value for the P.O Box:- now i want to get this value based on the user's email address using graph api, i tried those endpoint, but never able ...
johnjohn-Peter
Apr 09, 2025Iron Contributor
VasilMichevok thanks for the reply, but what is the value i got from this endpoint:-
https://graph.microsoft.com/beta/users/<useremail>/profile/
I got a PostOfficeBox , but it is null:-
"postOfficeBox": null,
VasilMichev
Apr 10, 2025MVP
That's a company-level property, not user-one.
- johnjohn-PeterApr 10, 2025Iron Contributor
VasilMichevThanks again for the reply... so you mean this property :-
is actually set once for the whole organization? or you mean the one been retrieved from the Graph api which have null value? Thanks