Hello,
We have a number of outbound integrations that were using the REST sender with Client Credentials authentication towards Azure plattform, they were working properly before.
Now, the endpoints at Azure has been moved to a new version and they have been configured using the OAuth2.0 “Scope” parameter that is not available in the Client Credentials data inside the routing address (IFS Connect).
We tried to add the Scpoe parameter in the “Token Endpoint Parameters” like: Scope=xxxxx , we also tried to add the Scope into the “Additional Headres” like Scope=xxxxx , none of them worked. Error when invoking the endpoint, error message :
"ExecutionException from Sender thread
Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Exception while sending data
Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Error while trying to get the Oauth access token
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://login.microsoftonline.com/74c901f0-6a97-4cfa-8505-9542ce009b27/oauth2/v2.0/token"
Customer gave us a postman collection and it works fine from there since there exist a “Scope” parameter/functionality in the OAuth2.0 Postman client.
Any help appriciated!
Kindregards,
Hani