r/PowerShell • u/ravensgc_5 • Dec 11 '25
Question Querying Microsoft Teams
I've done a fair chunk of research and haven't found anything all that helpful. I am looking to see if it is possible to "building address" information from the contact details of a user. I put a link below to show what exactly I'm looking at. Anyone know of a way to grab this information from Teams?
3
Upvotes
3
u/BlackV Dec 11 '25 edited Dec 11 '25
That's is not a teams property is it, it's an ad/aad property of the user
Are you trying to grab it for marketing reasons? Cause of its your org wouldn't you have that information?
4
u/an_harmonica Dec 11 '25
Pretty sure MSGraph is the only thing officially available to access anything within M365 like what you're looking for.
You probably need to be working with the MSGraph PowerShell module.
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.personalcontacts/get-mgusercontact?view=graph-powershell-1.0
1
u/KavyaJune Dec 15 '25
These properties are not related to Teams. You can retrieve these info from Entra. You can use either MS Graph or MS Entra PowerShell to get these information.
https://o365reports.com/export-all-entra-users-using-powershell/