CmdID / PowerShell / Cmdlets / Update
Update-MgDirectory
Update directory Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AdditionalPropertiesAdditional Parameters-AdministrativeUnitsConceptual container for user and group directory objects.-AttributeSetsGroup of related custom security attribute definitions.-BodyParameterdirectory To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CustomSecurityAttributeDefinitionsSchema of a custom security attributes (key-value pairs).-DeletedItemsRecently deleted items.-DeviceLocalCredentialsThe credentials of the device's local administrator account backed up to Microsoft Entra ID.-FederationConfigurationsConfigure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-OnPremisesSynchronizationA container for on-premises directory synchronization functionalities that are available for the organization.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-PublicKeyInfrastructurepublicKeyInfrastructureRoot To construct, see NOTES section for PUBLICKEYINFRASTRUCTURE properties and create a hash table.-Recoveryrecovery To construct, see NOTES section for RECOVERY properties and create a hash table.-RemoteTenantGroupsCollection of groups in remote Microsoft Entra tenants that are available in the directory.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SubscriptionsList of commercial subscriptions that an organization acquired.-TenantGovernancetenantGovernance To construct, see NOTES section for TENANTGOVERNANCE properties and create a hash table.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.