Old registrered app + secret under azure active directory is able to list subscription via Go SDK but not the new ones

Anand Kolli 1 Reputation point
2021-10-27T12:15:47.667+00:00

Hi,

I am able to list subscriptions within a given tenantID using Go SDK using the app+secret which was registered under the active directory couple of years back.

However when I register the new App+secret now, using the same Go SDK, I am not able to list the subscriptions, the response is empty, although I am not getting an authentication error.

Using both old and new app+secret I am able to call list tenancy API.

I suspect I am missing some other configuration to enable this.
any help is appreciated.

Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,210 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,861 Reputation points Microsoft Employee
    2021-11-03T21:36:44.117+00:00

    @Anand Kolli
    Thank you for the quick follow up on this!

    From the links you provided, and since your main issue is with the Go SDK not being able to list subscriptions, I'd recommend reaching out to our Go SDK experts via their GitHub Issues page, or their Stack Overflow page. For more info.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.


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.