User is getting inactive automatically

veerabhadra reddy kovvuri 181 Reputation points
2024-01-02T13:48:44.8266667+00:00

User is getting inactive automatically in databricks workspace after some-time. Basically we are using Enterprise application where we will be adding the groups in that. Group and the users inside the groups are getting synced into the workspace. However after sometime user status shows are inactive. This is very intermittent and frequency of this issue is very very low.

Can anyone please suggest commands or APIs to active the user. It would be a great help if you can explain how to use those commands.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,547 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2024-01-03T20:14:46.64+00:00

    Hello veerabhadra reddy kovvuri,

    From this documentation, Account admins can change a users status to deactivate the user using the Account Users API.

    So to activate the user, you can udpate "value": "True" in the below JSON.

    {
      "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ],
      "Operations": [
        {
          "op": "replace",
          "path": "active",
          "value": [
            {
              "value": "false"
            }
          ]
        }
      ]
    }
    
    
    

    I hope this helps.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.