Actions129
- Calendar Permission Actions
- CIPP Administration Actions
- Execute API Client (GET)
- Execute Auto Backup
- Execute Extension Mapping (GET)
- Execute Extension Mapping (POST)
- Execute Extension Sync
- Execute Extensions Config
- Execute Password Config (POST)
- Execute Restore Backup
- Execute Run Backup
- List Custom Roles
- List Extension Sync
- List Logs
- List Scheduled Items
- Remove Scheduled Item
- Execute API Client (POST)
- Execute Extension Test
- Execute Password Config (GET)
- List Backups
- List Function Parameters
- Group Actions
- Intune Actions
- Add MSP App
- Add Office App
- Add Policy
- Add Store App
- Assign App
- Assign Autopilot Device
- Device Action
- Get Recovery Key
- List Applications
- List Application Queue
- List Autopilot Config
- List Devices
- List Intune Scripts
- List Intune Templates
- Remove Autopilot Device
- Remove Policy
- Remove Queued App
- Add Choco App
- Add WinGet App
- Assign Policy
- Get Local Admin Password
- List Autopilot Devices
- List Intune Policies
- Remove App
- Remove Intune Script
- Sync Autopilot Devices
- License Actions
- Security & Compliance Actions
- Teams & SharePoint Actions
- Tenant Actions
- Add Alert
- Clear Tenant Cache
- Execute CA Exclusion
- Execute Named Location
- Get Tenant
- List Alerts Queue
- List Azure AD Connect Status
- List Conditional Access Policies
- List Named Locations
- List Shared Mailbox Statistics
- List Standards
- List Tenants
- Remove Standard Template
- Add Named Location
- Edit Tenant
- Execute Standards Run
- List Audit Logs
- List CSP Licenses
- List Roles
- List Standard Templates
- Tool Actions
- User Actions
- Add User
- Exec Restore Deleted User
- List User
- List User Conditional Access Policies
- List User Groups
- Clear Immutable ID
- Create Temporary Access Password
- Delete User Device
- Dismiss Risky User
- List Deleted Items
- List Inactive Accounts
- List Sign-Ins
- Remove User
- Reset MFA
- Restore Deleted Item
- Revoke Sessions
- Set Email Forward
- Set Per-User MFA
- List All Users
- List User Counts
- List User Devices
- Convert Mailbox
- Disable User
- Enable Archive
- List MFA Users
- Offboard User
- Reset Password
- Send MFA Push
- Set Out of Office
Overview
This node operation allows users to set or remove SharePoint permissions for a specified user within a given tenant and site URL. It is useful for managing access control in SharePoint sites or OneDrive, enabling automation of permission assignments or removals based on user principal names. For example, an administrator can automate granting or revoking access to a SharePoint site for specific users across different tenants.
Use Case Examples
- Automate adding a user to a SharePoint site with specific permissions.
- Remove a user's access to a OneDrive folder by revoking permissions.
Properties
| Name | Meaning |
|---|---|
| Tenant Filter | The tenant ID or domain name to specify the target tenant for the operation. |
| URL | The web URL of the SharePoint site or OneDrive location where permissions are to be set or removed. |
| User | The user principal name of the user whose permissions are being modified. |
| UPN | The owner principal name, required for setting SharePoint permissions. |
| Remove Permission | Boolean flag indicating whether to remove (true) or add (false) permissions. |
| OneDrive Access User | User principal name for OneDrive access, used when setting permissions related to OneDrive. |
| Request Options | Settings for request behavior including batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
success- Indicates whether the permission setting or removal operation was successful.message- Additional information or error message related to the operation outcome.
Dependencies
- Requires an API key credential for authentication to the CIPP API.
Troubleshooting
- Ensure the tenant ID or domain name is correct to avoid authentication or authorization errors.
- Verify the user principal names (User and UPN) are valid and exist in the tenant to prevent permission assignment failures.
- Check network connectivity and proxy settings if requests time out or fail to reach the API.
- If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.