2
votes

I am trying to create a Custom Connector in PowerApps so I can connect to our Jira Server.

I am trying to use OAuth Authentication but I can't configure it properly. I am getting this:

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: "App Id here"

In Azure I have tried to change the Reply url to several things but with no luck:

I have granted several rights (Graph) as admin. I have tried to login with admin accounts and non admin accounts, error remains the same. I have followed several guides including this one and this one.

What is causing this error and what can I do to configure this properly?

EDIT: enter image description here

1
The reply url in your code must be the same as the one in azure portal.Tony Ju
You can use the fiddler to capture the request url, you will find the reply url in the authorize endpoint. Then use this one in Azure portal.Tony Ju
Something like https://login.microsoftonline.com/{tenant}/oauth2/authorize? client_id=6731de76-14a6-49ae-97bc-6eba6914391e &response_type=code &redirect_uri=http%3A%2F%2Flocalhost%3A12345 &response_mode=query &resource=https%3A%2F%2Fservice.contoso.com%2F &state=12345 Copy the value of redirect_uriTony Ju
Any luck to get the value of redirec_uri?Tony Ju
Can you paste the url here(Remember to hide the sensitive information)?Tony Ju

1 Answers

2
votes

The reply url in your code must be the same as the one in azure portal.

You can use the fiddler to capture the request url, you will find the redirect_uri in the authorize endpoint. Then use this one in Azure portal.

Something like https://login.microsoftonline.com/{tenant}/oauth2/authorize? client_id=6731de76-14a6-49ae-97bc-6eba6914391e &response_type=code &redirect_uri=http%3A%2F%2Flocalhost%3A12345 &response_mode=query &resource=https%3A%2F%2Fservice.contoso.com%2F &state=12345

Copy the value of redirect_uri