2

You could use the Get-UnifiedGroup cmdlet to view Microsoft 365 Groups. Reference: https://docs.microsoft.com/en-us/powershell/module/exchange/get-unifiedgroup?view=exchange-ps


1

To add to the answer above here is an example of a script using Get-UnifiedGroup #Get Credentials to connect $Credential = Get-Credential #Create the session $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ ` -Credential $Credential -Authentication Basic -...


1

Asynchronous requests need to pay attention to the order of the requests.The second request should be written in then function. public componentDidMount() { this.groupIdString = ""; ServiceManager.getRemoteService().getCurrentUserGroups(this.props.siteUrl, "/_api/web/currentuser/groups").then((value) => { if (value[0]) {...


1

In addition to the site policy function, no other functions need to be activated. Please check ULS logs or event logs for any clues. As a workaround, we could use powershell to make the site collection read only: Set-SPSite -Identity "SiteCollection" -LockState "No access" More information for your reference: https://docs.microsoft.com/...


Only top voted, non community-wiki answers of a minimum length are eligible