Action Center PaaS Installation fail - (401) Unauthorized is received when PaaS script does POST on odata/Settings/UiPath.Server.Configuration.OData.UpdateBulk
Error message: (401) Unauthorized is received when PaaS script does POST on odata/Settings/UiPath.Server.Configuration.OData.UpdateBulk
The below error can be found in the install error logs.
Response: {
"statusCode": 401,
"responseStatus": 1,
"uri": "orch_url/odata/Settings/UiPath.Server.Configuration.OData.UpdateBulk",
"errorMessage": null,
"content": {
"message": "You are not authenticated!",
"errorCode": 0,
"result": null,
"targetUrl": null,
"success": false,
"error": {
"code": 0,
"message": "You are not authenticated!",
"details": "You should be authenticated (sign in) in order to perform this operation.",
"validationErrors": null
},
"unAuthorizedRequest": true,
"__abp": true
}
}
Exception message: Attempted to perform an unauthorized operation.
CustomAction ConfigureAppBaseUrlAction returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Resolution: Make the below changes in the Orchestrator configuration,
- IdentityServer.OAuth.Enabled should be added in Configuration with true
- IdentityServer.S2SIntegration.Enabled should be added in Configuration with true.