Azure / Azure-Media-Services-Explorer

Azure Media Services Explorer Tool
Other
210 stars 86 forks source link

Can not pick-up account by my personal azure account. #152

Closed supershowwei closed 11 months ago

supershowwei commented 2 years ago

Please provide us with the following information:

This issue concerns: (mark with an x)

- [ ] AMSE v4.x (for AMS v2)
- [x] AMSE v5.x (for AMS v3)

This issue is for a: (mark with an x)

- [x] bug report
- [ ] UI issue report
- [ ] feature request
- [ ] performance problem
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Click 'Pick-up / create an account...' Check 'Select or create an account by browsing your tenants & subscriptions' Input my personal azure account.

Any log messages given by the failure

'xxx is not in our system.'

Expected/desired behavior

Show my subscriptions and Azure Media Service accounts.

OS and Version?

Windows 10.

Versions

5.4.7.0 for Media Services v3

Mention any other details that might be useful


Works fine when i downgrade to 5.3.0.1 (for AMS v3).

xpouyat commented 2 years ago

Hello, Did you try to "force user selection" ? 2022-02-09_15h45_57

supershowwei commented 2 years ago

Hello, Did you try to "force user selection" ? 2022-02-09_15h45_57

yes, i tried.

It is worth mentioning that works fine when i downgrade to 5.3.0.1 (for AMS v3).

I have a video of the steps what reproduce the error message, please refer to this YouTube link https://youtu.be/YyJGATvMq1w.

xpouyat commented 2 years ago

Hello, I have an idea. Can you try connecting to an organization ? Domain name is something like .onmicrosoft.com

2022-06-03_17h28_08

2022-06-03_17h28_19

2022-06-03_17h28_30

supershowwei commented 2 years ago

I signed up for Azure using my personal account. What will be my organization information?

xpouyat commented 2 years ago

Ah, not sure you can use this organization option in that case. I just released a new version of the tool with updated packages for authentication. You may try...

xpouyat commented 1 year ago

Hello, I was expecting thigs to be better by using WAM in this release, but it looks like personal account cannot be easily used with this library to connect to Azure.

For now, to access an AMS account using a personal account, I recommend using a service principal with JSON settings (option 2 in the pick-up account dialog box) 2023-03-16_11h13_01

xpouyat commented 11 months ago

Closing as MSA account cannot be used.