Create token for ServicePrincipal using java SDK
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2023 08:12 AM
Hi Team
I am looking into implementing a functionality which allows me to create a ServicePrincipal and I want to create a personal token for this ServicePrincipal using java sdk. While trying to do this I am getting this error ```com.databricks.sdk.core.DatabricksError: User ----- does not have permission to use tokens.
at com.databricks.sdk.core.error.ApiErrors.readErrorFromResponse(ApiErrors.java:48)```
I can't find a way around this our anything on the documentation