Forum Discussion
Fabric One Lake Shortcut using Rest API - getting error - The caller is not authenticated to access
Fabric One Lake Shortcut using Rest API - getting error - The caller is not authenticated to access. It asks for ConnectionID and when I try to use it it gives error - Fabric One Lake Shortcut using Rest API - getting error - The caller is not authenticated to access .
This connection was created by teammate and he has granted owner access to me.
'request_url': 'https://api.fabric.microsoft.com/v1/workspaces/<>/items/<>/shortcuts?shortcutConflictPolicy=Abort',
'response_text': {'requestId': '<>',
'errorCode': 'Unauthorized',
'message': 'The caller is not authenticated to access this resource'},
'status': 'error',
'status_code': 401,
'status_description': 'unauthorized'}.
This works for the user who created this connection and gives error while I authenticate using Service Principal. Service Principal is admin of the workspace.
What's resolution for this?