How to Use PowerShell to Disable Manual Federation between Okta and MS Office 365 | Okta Support

Опубликовано: 06 Август 2026
на канале: Okta Support Center
246
2

Learn how to use PowerShell to disable manual federation between Okta and Microsoft Office 365.

1st PS cmdlet - Connect-MgGraph -Scopes “Directory.AccessAsUser.All”

2nd PS cmdlet - Get-MgDomainFederationConfiguration -DomainId federated domain name

3rd PS cmdlet - Remove-MgDomainFederationConfiguration -DomainId domain name -InternalDomainFederationId (Get-MgDomainFederationConfiguration -DomainId domain name pipe Select -Property Id).id

🔹 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 :https://support.okta.com/help/s/produ...
__
💻 Learn more at Okta.com
📱Follow Okta on social media:
LinkedIn ➡️   / okta-inc-  
X ➡️   / oktasupport  
Instagram ➡️   / oktainc  
TikTok ➡️   / okta