Skip to content

New command: planner tenant settings set #3356

@milanholemans

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
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions