Parameter Attribute DataType Description Allowed Values
IsSingleInstance Key String Specifies the resource is a single instance, the value must be 'Yes' Yes
CortanaEnabled Write Boolean Allow Cortana in windows 10 (version 1909 and earlier), and the Cortana app on iOS and Android, to access Microsoft-hosted data on behalf of people in your organization.
M365WebEnableUsersToOpenFilesFrom3PStorage Write Boolean Let users open files stored in third-party storage services in Microsoft 365 on the Web.
Ensure Write String Since there is only one setting availble, this must be set to 'Present' Present
Credential Write PSCredential Credentials of the Global Admin
ApplicationId Write String Id of the Azure Active Directory application to authenticate with.
TenantId Write String Id of the Azure Active Directory tenant used for authentication.
ApplicationSecret Write PSCredential Secret of the Azure Active Directory tenant used for authentication.
CertificateThumbprint Write String Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.
ManagedIdentity Write Boolean Managed ID being used for authentication.


This resource configures the Org settings for a Microsoft 365 tenant.



To authenticate with Microsoft Exchange, this resource required the following permissions:


  • Organization Configuration

Role Groups

  • None


Example 1

This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.

Configuration Example
        [Parameter(Mandatory = $true)]

    Import-DscResource -ModuleName Microsoft365DSC

    node localhost
        O365OrgSettings 'O365OrgSettings'
            Credential                                 = $Credscredential;
            Ensure                                     = "Present";
            IsSingleInstance                           = "Yes";
            M365WebEnableUsersToOpenFilesFrom3PStorage = $False;