Authentication Exception

Subhasish Das 1 Reputation point
2021-10-05T09:58:34.507+00:00

when I am running Workspace.list('0c02fb38-8417-4dfc-bc93-34734d293d05') ---- this code I am getting
Message: No subscriptions were found for 'None'. If this is expected, use '--allow-no-subscriptions' to have tenant level accesses
InnerException None
ErrorResponse
{
"error": {
"code": "UserError",
"inner_error": {
"code": "Authentication"
},
"message": "No subscriptions were found for 'None'. If this is expected, use '--allow-no-subscriptions' to have tenant level accesses"
}
}
this error. I am using trial version. Please please help me on this

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,457 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Subhasish Das 1 Reputation point
    2021-10-05T19:26:51.033+00:00

    Please please somebody help me

    0 comments No comments

  2. James Hamil 21,621 Reputation points Microsoft Employee
    2021-10-05T22:41:29.723+00:00

    Hi @Subhasish Das , when you login to the portal can you see the subscriptions you have? You may need to change your cloud environment. I also recommend looking through this document. Please let me know if you have any questions.

    If this answer helped you please mark it as "Verified" so other users may reference it.

    Thank you,
    James

    0 comments No comments