Getting the below error message when i try to create a connection to the custom connector. Unable to add the connection from powerapp as well.
""Failure passed to redirect URL. error=invalid_resource error_description=AADSTS500011: The resource principal named "Resource principal name" was not found in the tenant named XY. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: 67a90a61-7168-4d54-942f-37b8d51c3c00 Correlation ID: 454301f2-f1e1-4575-b37b-7497b5fefe56 Timestamp: 2022-06-15 11:02:47Z error_uri=https://login.microsoftonline.com/error?code=50001""