The Set-MsolCompanySettings cmdlet in PowerShell sets the company-level configuration settings in Microsoft Office 365. You can use the Get-MsolCompanyInformation cmdlet to read the current values of configuration settings.
The syntax to set the company-level configuration settings in Azure Active Directory is given below.
Set-MsolCompanySettings
[-SelfServePasswordResetEnabled <Boolean>]
[-UsersPermissionToCreateGroupsEnabled <Boolean>]
[-UsersPermissionToCreateLOBAppsEnabled <Boolean>]
[-UsersPermissionToReadOtherUsersEnabled <Boolean>]
[-UsersPermissionToUserConsentToAppEnabled <Boolean>]
[-DefaultUsageLocation <String>]
[-AllowAdHocSubscriptions <Boolean>]
[-AllowEmailVerifiedUsers <Boolean>]
[-TenantId <Guid>]
[<CommonParameters>]
In this article, we will discuss how to use the Set-MsolCompanySettings cmdlet in PowerShell to set the company-level configuration settings in Office 365.
How to Turn on the Self-Serve Password Reset Feature in Office 365
To turn on the self-serve password reset feature for users in Office 365, use the Set-MsolCompanySettings cmdlet with the -SelfServePasswordResetEnabled
parameter.
The -SelfServePasswordResetEnabled
parameter indicated whether to allow the use of the self-service password reset feature for all administrators in the company.
Set-MsolCompanySettings -SelfServePasswordResetEnabled $True
This command turns on the self-serve password reset feature for all administrators in the company.
Conclusion
I hope the above article on how to use the Set-MsolCompanySettings cmdlet in PowerShell to update the company-level configuration settings in Azure Active Directory is helpful to you.