Here is an article about SharePoint Online: User Permissions Audit Report for a Site Collection using PnP PowerShell for your reference:
It seems to have something to do with Access Control for Unmanaged Devices, which is configured to restrict end users’ actions (Download, Print, and Sync commands) in Office apps.
Do you have sensitivity labels set in your tenant, or see Confidential labels in this site? I haven’t been able to enable this permission level in my tenant, possibly due to ...
I think you are missing the Connection parameter here you need to pass in the context of site for which you are executing the command which can be obtained by using -ReturnConnection switch
$connection = Connect-PnPOnline -Url https://contoso.sharepoint.com -Credentials (Get-Credential) -ReturnConnection
Add-PnPUserToGroup -LoginName email@example.com -...
Just like psdpainter said, limited access is not a permission level for you to grant. It is only a bridge helps user to go through locations where he/she does not have enough permission and navigates to the specific item which he/she can access.
Quote from MS doc:
it enables a user or group to browse to a site page or library to
access a specific content ...
I don't think we can create permission level with Power Automate. You can achieve this by using Azure function or Azure Runbook to execute code (C# OR PowerShell). The Azure function & Runbook both can be triggered from Power Automate to execute the script (using Web hook for Azure function & Azure Automation connector for Runbook).
The script if ...
You need the user's ID as it exists in the SharePoint site collection user list.
You can get these user properties with a SharePoint HTTP request that has the user's email in the Uri:
Then you can pull the ID from the results, like
Finally, use that to set the ...
It's by design when you use the SharePoint online UI "Share site" button.
If we create a new permission level named TestPermission which contains "Manage Permissions" and replace the default Edit permission of the Member group:
Then the Share site will not work in UI:
Therefore, only the site owner can choose to grant permissions.