Hi @Ajay-Pandey, The error message you’re encountering indicates that the on-behalf-of token creation feature for service principals is not enabled for your Databricks workspace.
To enable this feature, follow these steps:
Provide CAN_USE Permission:
You need to grant theCAN_USE permissionto the service principal in thetoken manage permission.
Navigate toAdmin>Workspace Settings.
Look for theCAN_USEoption and provide this permission to your service principal.
Welcome to Databricks Community: Lets learn, network and celebrate together
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.