# Issue with Azure DNS and 100+ DNS Zones

**URL:** <https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170>\
**Category:** Question\
**Created:** [December 14, 2020, 12:22pm UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170 "2020-12-14T12:22:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquidkristal](https://community.certifytheweb.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@liquidkristal](https://community.certifytheweb.com/u/liquidkristal)\
**Post date:** [December 14, 2020, 12:22pm UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/1 "2020-12-14T12:22:19Z")

</div>

So we have a few certify setups and all has been working well, we 1 had fail the other day, and it will not renew, test comes back with successful but no zones found, the App registration is all fine and if set at a parent level in azure can see all the records on page 1 (100 per page), but refuses to see anything on page 2 (114 DNS zones in total and the failing one is on the 2nd page (upon further checks we have 2 zones on the 2nd page and both are failing)

Is there a limit within certify where it cannot see more than 100 domains (we set app registrations per domain, so the only thing I can think of is somewhere something is broken and cannot see the domains on page 2 (101+)

---

<div class="post-metadata">

**Author:** ![webprofusion](https://community.certifytheweb.com/user_avatar/community.certifytheweb.com/webprofusion/32/4_2.png) [@webprofusion](https://community.certifytheweb.com/u/webprofusion)\
**Post date:** [December 14, 2020, 1:54pm UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/2 "2020-12-14T13:54:03Z")

</div>

Hi, that sounds possible but currently we don’t limit anything so it’s likely that the azure rest ask does. I can investigate this later in the week (away from computer) but in the meantime if you can find out your zoneid you could enter it manually instead of selecting it from the list.

---

<div class="post-metadata">

**Author:** ![liquidkristal](https://community.certifytheweb.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@liquidkristal](https://community.certifytheweb.com/u/liquidkristal)\
**Post date:** [December 17, 2020, 4:05am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/3 "2020-12-17T04:05:55Z")

</div>

Hi.

Looking at the rest API ([https://docs.microsoft.com/en-us/rest/api/dns/zones/list](https://docs.microsoft.com/en-us/rest/api/dns/zones/list)) is it the $top variable causing issues (where by the azure end is not behaving as expected) If you need logs or anything from our setup let me know and I’ll gather them up for you.

---

<div class="post-metadata">

**Author:** ![webprofusion](https://community.certifytheweb.com/user_avatar/community.certifytheweb.com/webprofusion/32/4_2.png) [@webprofusion](https://community.certifytheweb.com/u/webprofusion)\
**Post date:** [December 17, 2020, 4:17am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/4 "2020-12-17T04:17:20Z")

</div>

Thanks, can you try out this modified Azure provider (top parameter set to 2000 results instead of the default 100):

[https://certifytheweb.s3.us-east-1.amazonaws.com/downloads/test/Plugin.DNS.Azure.zip](https://certifytheweb.s3.us-east-1.amazonaws.com/downloads/test/Plugin.DNS.Azure.zip)

You’d need to download it, extract the dll file and replace the existing copy under C:\Program Files\CertifyTheWeb\Plugins

If that works OK it’ll be included as part of the next update.

---

<div class="post-metadata">

**Author:** ![liquidkristal](https://community.certifytheweb.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@liquidkristal](https://community.certifytheweb.com/u/liquidkristal)\
**Post date:** [December 17, 2020, 5:12am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/5 "2020-12-17T05:12:10Z")

</div>

Hi.

With the updated dll I get

Test Failed: Operation returned an invalid status code ‘Bad Request’

when running the test on the stored credentials.

---

<div class="post-metadata">

**Author:** ![webprofusion](https://community.certifytheweb.com/user_avatar/community.certifytheweb.com/webprofusion/32/4_2.png) [@webprofusion](https://community.certifytheweb.com/u/webprofusion)\
**Post date:** [December 17, 2020, 5:16am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/6 "2020-12-17T05:16:48Z")

</div>

Thanks, they don’t seem to mention a max value for `top` in the docs but I suspect there is one, I have updated the zip with a new version that just tries to get up to 999 results. My own azure zone isn’t setup at the moment.

---

<div class="post-metadata">

**Author:** ![liquidkristal](https://community.certifytheweb.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@liquidkristal](https://community.certifytheweb.com/u/liquidkristal)\
**Post date:** [December 17, 2020, 6:21am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/7 "2020-12-17T06:21:13Z")

</div>

Good news…

All working as expected again on the 999 results dll.

Thank you so much for getting this sorted out so fast.

Cheers

Mike.

---

<div class="post-metadata">

**Author:** ![webprofusion](https://community.certifytheweb.com/user_avatar/community.certifytheweb.com/webprofusion/32/4_2.png) [@webprofusion](https://community.certifytheweb.com/u/webprofusion)\
**Post date:** [December 17, 2020, 8:01am UTC](https://community.certifytheweb.com/t/issue-with-azure-dns-and-100-dns-zones/1170/8 "2020-12-17T08:01:23Z")

</div>

Thanks for testing it Mike, after further investigation the (unofficial?) hard limit is 1000 zones, so we’ll leave it at 999, really we need to change the API we’re using and use result set paging instead.
