Hello @Sowmya Nekkanti
Thank you for raising your question in the Microsoft Q&A Community.
One of the possible reasons is that you are authenticating against the wrong tenant. When authenticating from Powershell, include the tenant flag and probably the subscription flag using the command below.
Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy'
Account SubscriptionName TenantId Environment
------- ---------------- -------- -----------
azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
You should have the same result as shown above with your tenant ID and subscription ID.
https://learn.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount?view=azps-13.0.0
You can check if there are Subscriptions in the tenant if you do not want to use the Subscription flag by running the command below.
Get-AzSubscription
Alternatively, you can check using the Azure Cloud Shell which automatically redirects you to the environment once you are logged in on the Portal.
Let me know if further assistance is required.
Babafemi