CmdID / PowerShell / Cmdlets / New
New-MgChatPermissionGrant
Create new navigation property to permissionGrants for chats Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterresourceSpecificPermissionGrant To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ChatIdThe unique identifier of chat-ClientAppIdID of the service principal of the Microsoft Entra app that has been granted access.-ClientIdID of the Microsoft Entra app that has been granted access.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DeletedDateTimeDate and time when this object was deleted.-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.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-PermissionThe name of the resource-specific permission.-PermissionTypeThe type of permission.-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-ResourceAppIdID of the Microsoft Entra app that is hosting the resource.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.