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 add or remove members from a SharePoint site within a specified tenant. It is useful for managing SharePoint site permissions dynamically, such as adding a new user to a SharePoint group or removing an existing user. Practical examples include automating user access management in SharePoint sites for collaboration or compliance purposes.
Use Case Examples
- Add a user to a SharePoint site group to grant them access.
- Remove a user from a SharePoint site group to revoke their access.
Properties
| Name | Meaning |
|---|---|
| Tenant Filter | The tenant ID or domain name to specify which tenant the operation applies to. |
| Group ID | The identifier of the SharePoint group to which the user will be added or removed. |
| Add | Boolean flag indicating whether to add (true) or remove (false) the user from the SharePoint group. |
| URL | The web URL of the SharePoint site or OneDrive where the group exists. |
| SharePoint Type | The root web template type of the SharePoint site. |
| User | The user principal name (email or username) of the user to be added or removed. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
success- Indicates whether the operation to add or remove the SharePoint member was successful.message- Additional information or error message related to the operation.
Dependencies
- Requires authentication credentials to access the SharePoint API, typically an API key or OAuth token for the tenant.
Troubleshooting
- Ensure the tenant ID or domain name is correct to avoid authentication errors.
- Verify the Group ID and User principal name are valid and exist in the SharePoint site.
- Check network connectivity and proxy settings if requests fail to reach the SharePoint API.
- If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
- Timeout errors may occur if the SharePoint API is slow to respond; increase the timeout setting if needed.