Turn off App Passwords/Enable Modern Auth via Powershell

How to turn off App passwords and enable modern auth via Powershell

You can use the Powershell command Get-OrganizationConfig | Format-Table name, *OAuth*  which will allow you to see the current status of your tenant.
You can then use Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true  to set your tenant’s policy to true, alternatively, you can change it to false to reverse your changes.

This should only be used if the client is using O2016 or later as it is supported.

Previous
Previous

Disable Client-side and OWA forwarding

Next
Next

How to change calendar permissions for O365 via Powershell