When trying to approve the API permissions for Custom BC Connector Power Automate , the following error was displayed
{"Message":"Redirect URI (https://global.consent.azure-apim.net/redirect/xxxxxxx?admin_consent=True&tenant=e417d5cc-e5d8-4cad-b2cd-c5ef82dea0a0) did not receive an expected state query parameter from the authorization service (Referer: https://login.microsoftonline.com/)."}
You will need to approve the API Permission on the same pc with a valid session to BC \ Powerautomate so it can write the approval back to Powerautomate or it will keep asking you to reapprove
