CmdID / PowerShell / Cmdlets / New
New-MgGroupSitePermission
Create new navigation property to permissions for groups Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterpermission 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.-ExpirationDateTimeA format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission.-GrantedToidentitySet To construct, see NOTES section for GRANTEDTO properties and create a hash table.-GrantedToIdentitiesFor type permissions, the details of the users to whom permission was granted.-GrantedToIdentitiesV2For link type permissions, the details of the users to whom permission was granted.-GrantedToV2sharePointIdentitySet To construct, see NOTES section for GRANTEDTOV2 properties and create a hash table.-GroupIdThe unique identifier of group-HasPasswordIndicates whether the password is set for this permission.-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.-InheritedFromitemReference To construct, see NOTES section for INHERITEDFROM properties and create a hash table.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-InvitationsharingInvitation To construct, see NOTES section for INVITATION properties and create a hash table.-LinksharingLink To construct, see NOTES section for LINK properties and create a hash table.-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.-RolesThe type of permission, for example, read.-ShareIdA unique token that can be used to access this shared item via the shares API.-SiteIdThe unique identifier of site-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.