# CloudQuery Azure plugin warning about failed credentials and billing periods

**URL:** <https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728>\
**Category:** CloudQuery Plugins\
**Created:** [September 15, 2023, 6:39am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728 "2023-09-15T06:39:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![growing-kid](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@growing-kid](https://community.cloudquery.io/u/growing-kid)\
**Post date:** [September 15, 2023, 6:39am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728/1 "2023-09-15T06:39:45Z")

</div>

Hi all,

I’m getting the following warning while I run my CQ Azure plugin:

```auto
2023-09-15T06:04:38Z INF NewDefaultAzureCredential failed to initialize some credentials:
    WorkloadIdentityCredential: no token file specified. Check pod configuration or set TokenFilePath in the options 
azure-sdk-for-go=azidentity module=azure-src

2023-09-15T06:04:46Z WRN failed to discover billing periods (skipping) error="no Host in request URL" module=azure-src

```

Kindly help me with the same.

PS. I’ve followed the steps for authentication mentioned in the documentation.

---

<div class="post-metadata">

**Author:** ![erez](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/erez/32/40_2.png) [@erez](https://community.cloudquery.io/u/erez)\
**Post date:** [September 15, 2023, 7:43am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728/2 "2023-09-15T07:43:36Z")

</div>

Hi @growing-kid, does the sync work? This warning comes from the Azure Go SDK. There are multiple ways to authenticate, and the SDK can’t know which one the user intended to use. If you’re not using Workload Identity, you can ignore it.

---

<div class="post-metadata">

**Author:** ![growing-kid](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@growing-kid](https://community.cloudquery.io/u/growing-kid)\
**Post date:** [September 15, 2023, 8:18am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728/3 "2023-09-15T08:18:10Z")

</div>

The sync worked, but I’m unable to get the data. The tables are empty. Could you please explain why this failed?

```auto
2023-09-15T06:04:46Z WRN failed to discover billing periods (skipping) error="no Host in request URL" module=azure-src

```

---

<div class="post-metadata">

**Author:** ![erez](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/erez/32/40_2.png) [@erez](https://community.cloudquery.io/u/erez)\
**Post date:** [September 15, 2023, 8:54am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728/4 "2023-09-15T08:54:14Z")

</div>

Do you mind opening an issue here: [https://github.com/cloudquery/cloudquery/issues/new?assignees=&labels=bug&projects=&template=bug\_report.yml&title=bug%3A+%3Ctitle%3E](https://github.com/cloudquery/cloudquery/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=bug%3A+%3Ctitle%3E)? That should guide you into supplying all the relevant information so we can investigate.  
Please share any redacted logs with errors.

---

<div class="post-metadata">

**Author:** ![growing-kid](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@growing-kid](https://community.cloudquery.io/u/growing-kid)\
**Post date:** [September 15, 2023, 8:58am UTC](https://community.cloudquery.io/t/cloudquery-azure-plugin-warning-about-failed-credentials-and-billing-periods/728/5 "2023-09-15T08:58:52Z")

</div>

Sure, thanks!  
[https://github.com/cloudquery/cloudquery/issues/13870](https://github.com/cloudquery/cloudquery/issues/13870)
