Recently I was creating a Logic App in Azure to automate the grading of my objectives when my key result changed. The first step is to connect my Azure DevOps account to my Azure subscription. I have several Azure subscriptions and multiple Azure DevOps profiles. The problem was the Logic App was trying to grant permissions to the wrong account.
To change which account is being granted the permissions you need to change your profile. Open a new tab in your browser and visit visualstudio.com. In the upper right hand corner click your avatar and select Visual Studio profile.
On the left hand side of the screen use the drop down to select the desired profile.
Now return to the Logic App and try your connection again.