Skip to content

PlannerBucket

Parameters

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
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.
CertificateThumbprint Write String Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.

Description

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.

Examples

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"
        }
    }
}