List the Office 365 ImmutableID's using Powershell | Okta Support

Опубликовано: 16 Июнь 2026
на канале: Okta Support Center
856
1

In this video, we walk you through the detailed process of retrieving a list of Office 365 Immutable ID's using Windows PowerShell. This is useful when there are immutableid mismatches that can cause provisioning issues from Okta to Office 365.

Commands Used in the Video:
Install-Module MSOnline

Connect-MsolService

$onlineusers = Get-MsolUser -All | Select-Object UserprincipalName,ImmutableID,WhenCreated,LastDirSyncTime| Export-Csv c:\Office365\MyFile.csv -NoTypeInformation

🔹 For more information, visit this page within the Okta Help Center:
https://support.okta.com/help/s/artic...

🔹 Grow expertise. Connect with peers. Collaborate with our team of product experts. Visit the Okta Community to find answers or ask your questions: https://support.okta.com/help/community

🔹Find product-related information and resources in the Product Hub: support.okta.com/help/s/product-hub
__
💻 Learn more at Okta.com
📱Follow Okta on social media:
LinkedIn ➡️ http://bit.ly/OktaLinkedIn
Twitter ➡️   / oktasupport  
Instagram ➡️ bit.ly/OktaInstagram
TikTok ➡️ bit.ly/OktaTikTok