Skip to content

New command: planner tenant settings set #3356

Description

@milanholemans

Usage

m365 planner tenant settings set [options]

Description

Sets Microsoft Planner configuration of the tenant

Options

Option Description
--isPlannerAllowed [isPlannerAllowed Configure whether Planner should be enabled on the tenant.
--allowCalendarSharing [allowCalendarSharing] Configure whether Outlook calendar sync is enabled.
--allowTenantMoveWithDataLoss [allowTenantMoveWithDataLoss] Configure whether a tenant move into a new region is authorized.
--allowTenantMoveWithDataMigration [allowTenantMoveWithDataMigration] Configure whether a tenant move with data migration is authorized.
--allowRosterCreation [allowRosterCreation] Configure whether Planner roster creation is allowed.
--allowPlannerMobilePushNotifications [allowPlannerMobilePushNotifications] Configure whether push notifications are enabled in the mobile app.

Examples

Disable Microsoft Planner in the tenant

m365 planner tenant settings set --isPlannerAllowed false

Disable Outlook calendar sync and mobile push notifications

m365 planner tenant settings set --allowCalendarSharing false --allowPlannerMobilePushNotifications false

Enable Microsoft Planner but disallow roster plans to be created.

m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation false

Remarks

To use this command you must be a global admin.

Additional Info

Didn't find any relevant API docs.

However only thing you should do it execute following request:

PATCH https://tasks.office.com/taskAPI/tenantAdminSettings/Settings
Accept: application/json;odata.metadata=none
Prefer: return=representation
{
    "isPlannerAllowed": true,
    "allowCalendarSharing": true,
    "allowTenantMoveWithDataLoss": false,
    "allowTenantMoveWithDataMigration": false,
    "allowRosterCreation": true,
    "allowPlannerMobilePushNotifications": true
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions