Solved

Power App custom connector error in Cloud

  • 17 December 2021
  • 3 replies
  • 319 views

Userlevel 3
Badge +8

Hi,

 

I created a custom connector in Microsoft power app  with Oauth2 for cloud core environment. when test , got the below error. secondary/external URLs that's accessible from the internet. but the same works in postman for Oauth2 for both “authorization code” and “client credentials”,

 

Any idea why this ?

Regards,

Wasana

icon

Best answer by wahelk 26 January 2022, 04:54

View original

This topic has been closed for comments

3 replies

Userlevel 3
Badge +8

this is solved , problem with incorrect URLs for authentication

Userlevel 6
Badge +18

Hi @wahelk,  can you share the steps? I took the OpenAPI v2 definition from the API Explorer and created a custom connector with Generic OAuth2.

The Redirect URL is automatically set to https://global.consent.azure-apim.net/redirect and I cannot change it. When I test the connection, the login dialog pops up but immediately errors out: “ Invalid parameter: redirect_uri ”

Userlevel 3
Badge +8

Hi @Alexander Heinze ,

Did you update the IAM client with redirect URL? may be that is the issue?

/Wasana