skip to Main Content

The Subscription itself, which includes Azure Databricks created in Directory A of account A, has been transferred to directory B of account B.

A Compute cluster and Workflow were already created in directory A of account A.

It for running Workflow of Directory B of Account B was deleted.

A Compute cluster was created though.

when starting the Compute cluster in Azure Databricks, an error CrossTenantUserAssignmentRequestForbidden occurs during the error FailedIdentityOperation as shown in the capture below.

enter image description here

The following attempts were made to resolve the error, but no cases of the above error occurred in Azure Databricks.

Need help with how to fix the above error in Azure Databricks and run Compute cluster.

2

Answers


  1. The error "CrossTenantUserAssignmentRequestForbidden" typically occurs when an operation in Azure Databricks is attempting to assign a user from one tenant (in this case, Directory A) to a resource in a different tenant (Directory B).

    To fix this error and run the Compute cluster, you will need to make sure that the user or service principal attempting to start the cluster has been granted the necessary permissions to access resources in both Directory A and Directory B.

    Here are some steps you can take to troubleshoot and fix the issue:

    1. Check the Azure Active Directory (AAD) configuration for both Directory A and Directory B. Make sure that the user or service principal attempting to start the cluster has been granted the appropriate permissions and roles in both directories.
    2. Check the Azure Databricks workspace configuration for Directory A and Directory B. Make sure that the user or service principal attempting to start the cluster has been granted the appropriate permissions and roles in both workspaces.
    3. Check the Azure Databricks cluster configuration. Make sure that the cluster is configured to use the correct credentials and permissions for both Directory A and Directory B.
    4. If you are still experiencing issues, you can try deleting and recreating the Compute cluster. Make sure that you configure the cluster with the correct permissions and credentials for both Directory A and Directory B.
    Login or Signup to reply.
  2. There may be some specific things you can check in the AAD and Azure Databricks configuration:

    In Azure Active Directory (AAD):

    1. Check if the user or service principal has been granted the necessary permissions and roles in both Directory A and Directory B. This can include roles such as Global Administrator, Owner, Contributor, or User Access Administrator.

    2. Ensure that the user or service principal has been granted the necessary permissions to access the Azure Databricks workspace and Compute cluster resources in both directories. This can include roles such as Owner, Contributor, or User Access Administrator.

    3. Check if any Conditional Access policies or security settings in AAD may be preventing the user or service principal from accessing resources in both directories.

    In Azure Databricks workspace and cluster configuration:

    1. Verify that the user or service principal has been granted the necessary permissions and roles to access the Azure Databricks workspace and Compute cluster resources. This can include roles such as Owner, Contributor, or User Access Administrator.

    2. Check if the Compute cluster is associated with the correct virtual network, subnet, and network security group, and that the required ports are open for communication.

    3. Verify if the Compute cluster is configured to use the correct credentials and permissions for both Directory A and Directory B.

    4. Ensure that all the required dependencies and configurations for the Compute cluster are in place, such as storage accounts, data sources, and required software libraries.

    5. Check if the Azure Databricks workspace and Compute cluster are both in the same region, as cross-region operations may require additional permissions and configurations.

    Please note: The specific steps may vary depending on your environment and requirements. Hope it helps!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search