Skip to content

New command: m365 entra organization set #6581

@MartinM85

Description

@MartinM85

Usage

m365 entra organization set [options]

Description

Updates info about the organization

Options

Option Description
-i, --id [id The id of the organization. Specify either id or displayName, but not both.
-d, --displayName [displayName] The name of the organization. Specify either id or displayName, but not both.
--marketingNotificationEmails [marketingNotificationEmails] The comma separated list of marketing notification emails.
--securityComplianceNotificationMails [securityComplianceNotificationMails] The comma separated list of security compliance notification emails.
--securityComplianceNotificationPhones [securityComplianceNotificationPhones] The comma separated list of security compliance notification phones.
--technicalNotificationMails [technicalNotificationMails] The comma separated list of technical notification emails.
--contactEmail [contactEmail] A valid smtp email address for the privacy statement contact
--statementUrl [statementUrl] The URL that directs to the company's privacy statement

Examples

Updates properties of an organization specified by id

m365 entra organization set --id 84841066-274d-4ec0-a5c1-276be684bdd3 --marketingNotificationEmails 'marketing@contoso.com'

Updates properties of an organization specified by displayName

m365 entra organization set --displayName Contoso --marketingNotificationEmails 'marketing@contoso.com'

Default properties

Additional Info

https://learn.microsoft.com/en-us/graph/api/organization-update?view=graph-rest-1.0&tabs=http

The command requires new permission Organization.ReadWrite.All.

I will work on it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions