# Integrate OneAgent on Azure App Service for Windows: "503 Service Unavailable for Web App and Kudu"

**URL:** <https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-503-service-unavailable-for-web-app-and-kudu/43181>\
**Category:** Troubleshooting\
**Tags:** windows, azure, oneagent\
**Created:** [December 19, 2023, 10:10am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-503-service-unavailable-for-web-app-and-kudu/43181 "2023-12-19T10:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karolinaboba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolinaboba/32/19761_2.png) [@karolinaboba](https://community.dynatrace.com/u/karolinaboba)\
**Post date:** [December 19, 2023, 10:10am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-azure-app-service-for-windows-503-service-unavailable-for-web-app-and-kudu/43181/1 "2023-12-19T10:10:00Z")

</div>

The Dynatrace site extension registers IIS modules at installation time. If registration is complete but the actual IIS module files aren’t in place (or corrupt), the App Service might return a&nbsp;`503 Service Unavailable`&nbsp;message. Also, the Kudu AppPool will no longer be available, which effectively means that you can no longer fix your app. If this occurs, **please file a support case.**

Fortunately, there’s a way to recover from such a situation by adding the following setting in **Application Settings** &nbsp;to effectively deactivate&nbsp; **all** &nbsp;site extensions:

`WEBSITE_PRIVATE_EXTENSIONS=0`

This setting will give you access to Kudu once again. After that, reinstall the site extension and set&nbsp;`WEBSITE_PRIVATE_EXTENSIONS=1`&nbsp;(or remove the setting entirely). Following application restart, everything should work again, including Dynatrace monitoring.
