question

MarkeyB-1464 avatar image
0 Votes"
MarkeyB-1464 asked michev answered

Azure Ad Graph API user reports in csv

Hello,

Any scripts available to get user information out of azure ad through the graph api with output as csv? specifically looking for this info: UserPrincipalName, Method type

I searched on this forum and did not have any results so if it is already answered previously.. my apologies.

azure-active-directorywindows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

michev avatar image
0 Votes"
michev answered

Have you tried the Microsoft Graph PowerShell SDK? https://docs.microsoft.com/en-us/powershell/microsoftgraph/get-started?view=graph-powershell-beta
Depending on what exactly you're trying to achieve, the Get-MgUser and Get-MgUserAuthenticationMethod cmdlets might help.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.