Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Using login authentication method doesn't show any subscriptions #554

Open
rtheil-growlink opened this issue Sep 21, 2022 · 7 comments
Labels
bug Something isn't working question Further information is requested workaround provided

Comments

@rtheil-growlink
Copy link

Using new feature added from #446 doesn't seem to result in any subscriptions showing up for us. I've logged into the app, which works fine, but once I'm logged in, it just says "No subscriptions to show". I've had my boss try this also, and he has all the permissions, and he gets the same result.
image

@rtheil-growlink rtheil-growlink added bug Something isn't working needs review Review required by team member labels Sep 21, 2022
@YingXue
Copy link
Contributor

YingXue commented Sep 21, 2022

We return the results as is using the following api: https://learn.microsoft.com/en-us/rest/api/resources/subscriptions/list?tabs=HTTP
There is not any filter logic that we are applying.
If you can give this API a try (using postman or anything else), it will give us some hint.

@YingXue YingXue added question Further information is requested and removed needs review Review required by team member labels Sep 21, 2022
@YingXue
Copy link
Contributor

YingXue commented Sep 21, 2022

If you'd like to get some answers from the service team, Microsoft Q&A forum will be a good place to ask questions.

@rtheil-growlink
Copy link
Author

Have started that process, but getting Azure AD set up to be able to authenticate and make those calls is a process and I don't have the permissions to do in our org, so it will take some time .

How is the process for getting this information different from Azure Storage Explorer? One thing I notice when logging in there is that there's a selection for different tenants. The "home tenant" in my case doesn't have any subscriptions. It is all in a secondary tenant, so I'm assuming this is part of the issue since there's no option in IoT Explorer to chose a tenant.

Here's what it looks like for me in Storage Explorer
image

@rtheil-growlink rtheil-growlink changed the title Using login authentication method doesn't show any subscriptions [bug] Using login authentication method doesn't show any subscriptions Sep 22, 2022
@TechWatching
Copy link

Same issue, @YingXue, when I want to try the API, the tenant needs to be selected. So the issue is indeed not to be able to select the tenant. I agree with @rtheil-growlink , the process should be similar to Azure Storage Explorer which works fine.

@YingXue
Copy link
Contributor

YingXue commented Sep 26, 2022

Will this post be able to provide a workaround?
https://docs.microsoft.com/en-us/answers/questions/947467/cannot-access-34azure-active-directory34-from-the.html
It looks like users should be able to login with their tenant account like: user1@yourTenantName.onmicrosoft.com

@TechWatching
Copy link

No, it does not because it does not cover the case where your user is a guest on the tenant.

@rtheil-growlink
Copy link
Author

After finding the correct username for the tenant, I was able to get the login to recognize that username but I was unable to get password accepted for some reason, so I can't log in as the tenant-specific account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested workaround provided
Projects
None yet
Development

No branches or pull requests

3 participants