Azure CAPI call return 404 message: "ERROR: (AzureAPIInvoker): Failed with status code and message: 404"Issue When running cloud discovery schedule, we will use CAPI call to collect cloud resources (e.g. VM instances).This CAPI call might fail and you can see the following error message in discover log:"UK South -- Azure Datacenter.Discover.Azure Datacenter.ITapp Azure Compute Manager.List available hardwares -- Error" If you troubleshoot further, in the cloud API trail table (sn_capi_api_trail), you will find this error:"Failed to execute API - Failed with status code and message: 404: (script_include:CloudRESTAPIInvoker; line 154)" From the MID Server Log, you can see the following:=======Camel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Endpoint URL: https://portal.azure.com/subscriptions/idnumberhere/providers/Microsoft.Compute/locations/uksouth/vmSizesCamel (camel-1) thread #188 - ProducerTemplate DEBUG: HTTPClient.registerOtherProtocols() starting on Thread Thread[Camel (camel-1) thread #188 - ProducerTemplate,5,Standard Thread Group].Camel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Adding header: User-Agent: ServiceNow-ITOMCamel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Adding header: Content-Type: application/jsonCamel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Adding header: Authorization: *********Camel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Adding parameter: api-version: 2016-03-30Camel (camel-1) thread #188 - ProducerTemplate *** Script: *** INFO: (AzureAPIInvoker): Response status: 404Camel (camel-1) thread #188 - ProducerTemplate *** Script: *** ERROR: (AzureAPIInvoker): Failed with status code and message: 404:=======ReleaseAnyCauseOut of the box, we expect to use https://management.azure.com instead of https://portal.azure.com , and customer might have configured this URL manually in the service account used for discovery.ResolutionGo to the service account used for discovery (cmdb_ci_cloud_service_account) and remove the URL entry from column "Datacenter URL".This will force the logic to use Out of the box value, which is https://management.azure.com