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
idordisplayName, but not both.-d, --displayName [displayName]The name of the organization. Specify either
idordisplayName, 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 isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Organization.ReadWrite.All |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Organization.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