Authentication Issue: Unable to Access Azure OpenAI with Guest Account

Einar Eriksen 0 Reputation points
2024-04-08T08:18:35.9266667+00:00

I'm encountering an authentication issue while trying to access Azure OpenAI. Here's a breakdown of the problem:

I have an existing account associated with my email address. However, when I was invited to another company using the same email address, a new guest account on the same email address was generated. While it's manageable on portal.azure.com by appending /company/onmicrosoft.com to access the appropriate account, I'm facing difficulties with the Azure OpenAI portal.

When attempting to log in to oai.azure.com with my email address, I'm automatically logged in with my main account, rather than the guest account. Even adding /company/onmicrosoft.com to the URL doesn't change this behavior. I also tried pivate browser.

Unlike the standard Azure portal, where I'm prompted to switch accounts if the resource isn't available, the Azure OpenAI portal lacks this option, making it impossible to select or switch to my guest account.

I've also attempted to alter the client ID in the authentication URL, but it hasn't provided a solution to the issue.

Has anyone else encountered a similar issue with accessing Azure OpenAI using a guest account? If so, how did you address it?

Any insights or guidance on how to resolve this authentication challenge would be greatly appreciated.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,047 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 33,761 Reputation points
    2024-04-08T09:04:06.71+00:00

    Einar Eriksen Greetings & Welcome to Microsoft Q&A forum!

    When attempting to log in to oai.azure.com with my email address, I'm automatically logged in with my main account, rather than the guest account. Even adding /company/onmicrosoft.com to the URL doesn't change this behavior. I also tried private browser.

    This is expected behavior when using the default sign-in experience for the Azure OpenAI Studio.

    To access Azure OpenAI Studio from a guest account that has been granted access to an Azure OpenAI resource:

    • Open a private browser session and then navigate to https://oai.azure.com.
    • Rather than immediately entering your guest account credentials instead select Sign-in options
    • Now select Sign in to an organization
    • Enter the domain name of the organization that granted your guest account access to the Azure OpenAI resource.
    • Now sign-in with your guest account credentials.

    You should now be able to access the resource via the Azure OpenAI Studio.

    Alternatively if you're signed into the Azure portal from the Azure OpenAI resource's Overview pane you can select Go to Azure OpenAI Studio to automatically sign in with the appropriate organizational context.

    Please see Azure OpenAI FAQ page for more details.

    I hope this helps. Do let me know if you have any further queries.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.