< Back

Update-Organization

Sat Jan 18, 2020 2:24 pm

NAME Update-Organization



SYNOPSIS

Updates a "microsoft.graph.organization".





SYNTAX

Update-Organization -organizationId <string> [-assignedPlans <object[]>] [-businessPhones <string[]>] [-city

<string>] [-country <string>] [-countryLetterCode <string>] [-createdDateTime <DateTimeOffset>] [-deletedDateTime

<DateTimeOffset>] [-displayName <string>] [-extensions <object[]>] [-marketingNotificationEmails <string[]>]

[-mobileDeviceManagementAuthority <string>] [-onPremisesLastSyncDateTime <DateTimeOffset>] [-onPremisesSyncEnabled

<bool>] [-postalCode <string>] [-preferredLanguage <string>] [-privacyProfile <object>] [-provisionedPlans

<object[]>] [-securityComplianceNotificationMails <string[]>] [-securityComplianceNotificationPhones <string[]>]

[-state <string>] [-street <string>] [-technicalNotificationMails <string[]>] [-verifiedDomains <object[]>]

[<CommonParameters>]



Update-Organization -ODataType <string> -organizationId <string> [-assignedPlans <object[]>] [-businessPhones

<string[]>] [-city <string>] [-country <string>] [-countryLetterCode <string>] [-createdDateTime <DateTimeOffset>]

[-deletedDateTime <DateTimeOffset>] [-displayName <string>] [-extensions <object[]>] [-marketingNotificationEmails

<string[]>] [-mobileDeviceManagementAuthority <string>] [-onPremisesLastSyncDateTime <DateTimeOffset>]

[-onPremisesSyncEnabled <bool>] [-postalCode <string>] [-preferredLanguage <string>] [-privacyProfile <object>]

[-provisionedPlans <object[]>] [-securityComplianceNotificationMails <string[]>]

[-securityComplianceNotificationPhones <string[]>] [-state <string>] [-street <string>]

[-technicalNotificationMails <string[]>] [-verifiedDomains <object[]>] [<CommonParameters>]





DESCRIPTION

Updates a "microsoft.graph.organization" object in the "organization" collection.



Graph Call: PATCH ~/organization





PARAMETERS

-organizationId <string>

The ID for a "microsoft.graph.organization" object in the "organization" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-assignedPlans <object[]>

The "assignedPlans" property, of type "microsoft.graph.assignedPlan".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-businessPhones <string[]>

The "businessPhones" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-city <string>

The "city" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-country <string>

The "country" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-countryLetterCode <string>

The "countryLetterCode" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-createdDateTime <DateTimeOffset>

The "createdDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-marketingNotificationEmails <string[]>

The "marketingNotificationEmails" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesLastSyncDateTime <DateTimeOffset>

The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesSyncEnabled <bool>

The "onPremisesSyncEnabled" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-postalCode <string>

The "postalCode" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-preferredLanguage <string>

The "preferredLanguage" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-privacyProfile <object>

The "privacyProfile" property, of type "microsoft.graph.privacyProfile".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-provisionedPlans <object[]>

The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-securityComplianceNotificationMails <string[]>

The "securityComplianceNotificationMails" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-securityComplianceNotificationPhones <string[]>

The "securityComplianceNotificationPhones" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-state <string>

The "state" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-street <string>

The "street" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-technicalNotificationMails <string[]>

The "technicalNotificationMails" property, of type "Edm.String".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-verifiedDomains <object[]>

The "verifiedDomains" property, of type "microsoft.graph.verifiedDomain".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mobileDeviceManagementAuthority <string>

The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".



This property is on the "microsoft.graph.organization" type.



Mobile device management authority.



Valid values: 'unknown', 'intune', 'sccm', 'office365'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-extensions <object[]>

The "extensions" property, of type "microsoft.graph.extension".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deletedDateTime <DateTimeOffset>

The "deletedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.organization" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The ID for a "microsoft.graph.organization" object in the "organization" collection.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK