My subscription isn't appearing in the Subscription Id dropdown of my Logic App

algo_coder45 36 Reputation points
2025-07-01T18:03:32.5333333+00:00

Hello,

When trying to select a "Subscription Id" from the dropdown, it's empty even though I'm logged into the proper account that has the Subscription in it. Even when I manually input the Subscription Id myself, it shows a token error (included below). Any ideas why this is happening?

Note, this Logic App used to work fine many months ago, but it stopped working all of a sudden and I'm not sure why. The error started as early as February 2025, I believe; maybe even earlier than that but I'm not 100% sure when it started happening.

The 'EvolvedSecurityTokenService' access token is from the wrong issuer 'https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/'. It must match the tenant 'https://sts.windows.net/d587b5a3-d5f7-4b44-adec-8b958e55ae2e/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/d587b5a3-d5f7-4b44-adec-8b958e55ae2e' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later.

Screenshot 2025-07-01 073541

Screenshot 2025-07-01 065925

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,562 questions
{count} votes

Accepted answer
  1. Sai Prabhu Naveen Parimi 2,590 Reputation points Microsoft External Staff Moderator
    2025-07-02T17:58:04.5366667+00:00

    @algo_coder45

    Resolution Summary:

    -->Initially used OAuth to connect Logic App to a VM, but the connection failed due to token expiry and tenant mismatch issues.

    -->Switched the Logic App to use Managed Identity instead of OAuth.

    -->Enabled System-assigned Managed Identity on the Logic App.

    -->Assigned the "Virtual Machine Contributor" role to the Logic App’s Managed Identity at the resource group level.

    -->After the role assignment, the Logic App was able to successfully list the subscription, resource group, and VM in the dropdowns.

    -->Everything is now working as expected using Managed Identity.

    Please do not forget to click "Accept the answer” and Yes wherever the information provided helps you, this can be beneficial to other community members.

    User's image

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.