Skip to content

Conversation

@divya-akula
Copy link
Contributor

This PR introduces a PowerShell script named Export-M365ActiveUsers.ps1 that automates the export of Microsoft 365 user details into a CSV file using the Microsoft Graph API.

The script ensures the Microsoft.Graph module is installed, connects securely using browser or device-code authentication, and retrieves user details such as Display Name, UPN, Department, Job Title, and Manager Email.

It is designed to work seamlessly across macOS, Linux, and Windows, with platform-specific considerations for authentication cache permissions on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant