CmdID / PowerShell / Cmdlets / New
New-MgDirectoryCustomSecurityAttributeDefinition
Create a new customSecurityAttributeDefinition object. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-AdditionalPropertiesAdditional Parameters-AllowedValuesValues that are predefined for this custom security attribute.-AttributeSetName of the attribute set.-BodyParametercustomSecurityAttributeDefinition 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.-DescriptionDescription of the custom security attribute.-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.-IsCollectionIndicates whether multiple values can be assigned to the custom security attribute.-IsSearchableIndicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values.-NameName of the custom security attribute.-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-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-StatusSpecifies whether the custom security attribute is active or deactivated.-TypeData type for the custom security attribute values.-UsePreDefinedValuesOnlyIndicates whether only predefined values can be assigned to the custom security attribute.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.