Share via

Help with REST API with Azure Logic Apps

Firebird105x 20 Reputation points
Jun 8, 2023, 3:39 AM

Hello team,

I am trying to deactivate a user by ID in Azure Databricks via Azure Logic Apps. I have tested the connection and it works but I have difficulty trying to fill in the details.

I have previously done this before but it seems like Microsoft/DataBricks have changed the documentation.

Appreciate if someone can help with the values for Operations op, Operations path, Operations value and Schemas item.

My end goal - "active" : False,

User's image

a

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,302 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,302 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sonny Gillissen 3,356 Reputation points
    Jun 11, 2023, 9:20 PM

    Hi JamesClear555

    Thanks for reaching out on Microsoft Q&A!

    This looks like a query on the SCIM API, where you need to specify what you're doing at which point in what way. In other words: you need to specify the operation (what way) together with the path (what) and a new value. So in this case it would be:

    • op: replace
    • path: active
    • value: false

    That way you're replacing the value of the field 'active' with 'false', turning the user into a disabled state.

    Please click 'Accept answer' if you found this helpful. Feel free to drop additional queries in the columns below!

    Kind regards,

    Sonny


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.