Examples/Resources/AADTenantDetails/1-ConfigureAADTenantDetails.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<#
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 {
    param(
        [System.Management.Automation.PSCredential]
        $GlobalAdmin
    )

    Import-DscResource -ModuleName Microsoft365DSC

    Node Localhost
    {
        AADTenantDetails TenantDetailsg
        {
            TechnicalNotificationMails             = "exapmle@contoso.com"
            SecurityComplianceNotificationPhones   = "+1123456789"
            SecurityComplianceNotificationMails    = "exapmle@contoso.com"
            MarketingNotificationEmails            = "exapmle@contoso.com"
            GlobalAdminAccount                     = $GlobalAdmin
            IsSingleInstance                       = 'Yes'
        }
    }
}