|The display name of the Shared Mailbox
|The name of the Time Zone to assign to the mailbox
|The code of the Locale to assign to the mailbox
|Present ensures the Mailbox Settings are applied
|Credentials of the Exchange Global Admin
|Id of the Azure Active Directory application to authenticate with.
|Id of the Azure Active Directory tenant used for authentication.
|Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.
|Username can be made up to anything but password will be used for CertificatePassword
|Path to certificate used in service principal usually a PFX file.
|Managed ID being used for authentication.
This resource configures settings on Mailboxes such as the Regional settings and its timezone.
To authenticate with Microsoft Exchange, this resource required the following permissions:
- User Options, View-Only Recipients, Mail Recipients
- Organization Management
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.
[Parameter(Mandatory = $true)]
Import-DscResource -ModuleName Microsoft365DSC
DisplayName = 'Ottawa Employees'
TimeZone = 'Eastern Standard Time'
Locale = 'en-US' # Updated Property
Ensure = 'Present'
Credential = $Credscredential