Scenario: I have a scenario where in I need to get all the solutions in an environment using Power Automate. For this we are using the API "https://login.microsoftonline.com/<Environment ID>/oauth2/token" using the app registration client ID and client Secret. I have also given this app user access in the same environment with role of "System Customizer".
Issue: I am getting the error with error code 90002. Where if I hit the same API with the default environment ID, I am able to get the access token.
Can anyone suggest what I am doing wrong here ?


Report
All responses (
Answers (