0

Is there anyway to select a tenant that is not default when I log in via Azure Toolkit for IntelliJ ?

Once I sign in, there seems to be no way to change the tenant. How do I do that ?

It says this has been fixed in a GitHub issue, but provides no details on how to use the functionality.

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
ng.newbie
  • 2,807
  • 3
  • 23
  • 57
  • Did you check this [MS Doc](https://learn.microsoft.com/en-us/azure/developer/java/toolkit-for-intellij/sign-in-instructions#sign-in-to-your-azure-account-with-azure-cli) – Pravallika KV Feb 06 '23 at 07:39
  • @PravallikaKothaveerannagari yes, as you can see there is no way to select a TENANT there. Only way to change subscriptions. – ng.newbie Feb 06 '23 at 07:46
  • I'm not sure about selecting a tenant, but if you know the Tenant ID, you can login. – Pravallika KV Feb 06 '23 at 08:10
  • @PravallikaKothaveerannagari I believe you are referring to the `Service Principal` login which asks for the Tenant ID. That would work except I have no access to the `Azure AD` - which is needed for the `Client ID`. Correct me if I am wrong. – ng.newbie Feb 06 '23 at 08:38
  • Yes, you are right. AFAIK, there is only one way i.e., via Service Principal and yes you should have access to do so. – Pravallika KV Feb 06 '23 at 10:36
  • @PravallikaKothaveerannagari Where would I get my Client ID from ? – ng.newbie Feb 06 '23 at 17:34
  • you have to register your application in Active Directory> App registration. Then you'll be able to see the details like client ID and Tenant ID. Check this [image](https://i.imgur.com/4u3y8cT.png) and also check the answer which I have provided below. – Pravallika KV Feb 13 '23 at 12:11

1 Answers1

0

It is marked as feature request but not yet implemented this way of Signing of selecting a tenant in IntelliJ IDE Toolkit as described in this GitHub Issue #4456 you have mentioned.

From this Issue, I have traversed the previous ticket issues given at the end of each Ticket Page and then I came to know this is marked as feature-request type but not fixed yet and they have provided the MS doc everywhere which provides the information on available ways of Sign-in instructions in IntelliJ IDE ToolKit.

Pravallika KV
  • 2,415
  • 2
  • 2
  • 7