I'm using SharePointOnline's Modern UI.
I'd like to remove all user permissions for our maintenance.
However, there are individual permissions that do not inherit the permissions of the site, so it does not seem easy to do.
OOTB maintenance mode cannot be used because even the backend cannot be updated.
Is there a way to control the permissions of all users at once, including permissions that do not inherit site permissions? I want to put it back when the maintenance is over.
I am very grateful for any ideas.