Archival - support shouldSetSpoSiteReadOnlyForMembers setting when using app-only permissions
When archiving a Team (https://docs.microsoft.com/en-us/graph/api/team-archive?view=graph-rest-1.0) there is an optional parameter
shouldSetSpoSiteReadOnlyForMembers to change all user permissions on the content to read-only. This however does not currently work when using Application permissions.
This should be supported, possibly requiring the
Sites.ReadWrite.All application permission.
This will allow us to archive a team automatically in a background process in response to certain business requirements eg. time elapsed, team status etc.