Token expiration for SCIM provisioning

I am configuring auto provisioning with the SCIM app in Azure. I am following this KB article

The problem is, the bearer token I generate is only good for 24 hours. Based on my research, the application should auto renew the bearer token but that isn't happening. Is there a setting I am missing that sets the auto renewal?

Otherwise I need to manually generate a new token every 24 hours and restart the provisioning process

Here is the error in the Azure app

Quarantine details:

While attempting to validate our authorization to access your application, we received this unexpected response: Received response from Web resource. Resource: api.usw2.pure.cloud/api/v2/scim/v2/Users?filter=userName+eq+"AzureAD_Test-824076f0-79c1-4849-bccf-01cecd48d1c8" Operation: GET Response Status Code: Unauthorized Response Headers: Connection: keep-alive ININ-Correlation-Id: f6753e67-2b2b-4863-932d-c6de2afc2c7d Strict-Transport-Security: max-age=31536000; includeSubDomains X-Cache: Error from cloudfront X-Amz-Cf-Pop: SEA19-C2 X-Amz-Cf-Id: M63LT_x4FnYKPPYl7o4HJE5ioD0WMlZKTNiQWybU0PLIxcxeaFYlfA== Cache-Control: no-store, must-revalidate, no-cache Date: Tue, 13 Feb 2024 14:33:54 GMT Via: 1.1 324a68a6c25ee50d774953f3e15a611c.cloudfront.net (CloudFront) Response Content: {"status":"401","detail":"Invalid login credentials.;\n PubApiError[status=401,code=bad.credentials, message=Invalid login credentials.];\n contextId:[ f6753e67-2b2b-4863-932d-c6de2afc2c7d ]","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"]} Please check the service.

That duration is based on your configuration setting. You can configure it to last up to 450 days. Create an OAuth client - Genesys Cloud Resource Center

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.