Parameter Attribute DataType Description Allowed Values
Name Key String The Name of the Planner Bucket.
PlanId Key String Id of the Plan to which the bucket is associated with.
BucketId Write String Id of the Bucket, if known.
Ensure Write String Present ensures the Plan exists, absent ensures it is removed Present, Absent
Credential Required PSCredential Credentials of the account to authenticate with.



This resource is used to configure the Planner Buckets.

  • This resource deals with content. Using the Monitoring feature of Microsoft365DSC on content resources is not recommended.


Example 1

This example creates a new Planner Bucket in a Plan.

Configuration Example
    Import-DscResource -ModuleName Microsoft365DSC

    node localhost
        PlannerBucket 'ContosoPlannerBucket'
            PlanId                = "1234567890"
            Name                  = "Contoso Bucket"
            Ensure                = "Present"
            ApplicationId         = "12345-12345-12345-12345-12345"
            TenantId              = "12345-12345-12345-12345-12345"
            CertificateThumbprint = "1234567890"