When Azure billing schedule is triggered or runs periodically, it fails with the error:
Cannot retrieve billing data from https://consumption.azure.com/v3/enrollments/<enrollment number>/usagedetails/download?billingPeriod=<period>
Response code 403: Method failed: with code: 403 - Forbidden username/password combo
This error only occurs in the Quebec release, due to the introduction of strict certificate chain validation from the MID server of outbound endpoint API calls.
1. Navigate to Cloud Provisioning and Governance > Cloud Admin Portal > Billing.
2. Add the credentials for azure EA.
3. Create a billing schedule.
4. Click 'Execute Now'.
The operation fails with '403 forbidden' exception.
Disable the certificate chain check in MID security policy: