Skip to main content

entra organization set

Updates info about the organization

Usage

m365 entra organization set [options]

Options

-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

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Permissions

ResourcePermissions
Microsoft GraphOrganization.ReadWrite.All

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'

Response

The command won't return a response on success

More information