Error: Missing validation token for service principal. Please provide a valid ARM-scoped Entra ID token in the 'X-Databricks-Azure-SP-Management-Token' request header and retry. For details, check https://docs.databricks.com/api/workspace/storagecredentials
Hi!
I hit this for a week and finally got it working. Sharing what fixed it for me.
- If your Azure user shows
#EXT#in the User Principal Name (UPN), you’re on a guest account. Databricks doesn’t like that for external credentials.
What I did
- Open the Azure portal → search Microsoft Entra ID.
- Go to Users → open your account.
- In Properties, check User principal name.
- If it has
#EXT#, that’s the problem.
- If it has
- Switch to the tenant that owns your resources (not the guest one), or use a non-guest user for that tenant.
- Go back to Databricks and try creating the External Credential again under the correct directory/tenant.
- If it still won’t cooperate sign in at https://accounts.azuredatabricks.net/login using the correct tenant, then retry the steps you did before getting this error.
Once you’ve done this, you should be able to move on with the next steps.
If this fix helped, comment so others can find it. Happy learning!