We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

SharePoint 2019 API to Delete Users from Multiple Sites

charlieepes
7 - Meteor

Hi:

I have a workflow that can delete users' permissions from a single SharePoint 2019 site at a time.  It obtains the authentication from the single site, then the Download tool helps to delete permissions.

 

I need to expand this workflow to approach multiple sites and delete the same multiple users. I need the workflow to loop around to restart for each site because each site requires a unique authentication.

 

Other than a creating an Iterative Macro, is there any other combination of tools that could accomplish the looping? Or is an Iterative macro the ONLY way?

 

The workflow runs as follows:

  1. Text Input tool feed of the SharePoint site URL
  2. Text Input tool feed of the soon-to-be-removed user IDs
  3. Download tool to obtain the contexinfo authentication from the site
  4. Formula tool to construct the endpoint to tag the user(s)
  5. Append Fields tool to compile the criteria
  6. Download tool with X-HTTP Method - DELETE to send a delete message to the SP API
1 REPLY 1
charlieepes
7 - Meteor

Please ignore. I solved it.  I'm sorry for the distraction.

Labels
Top Solution Authors