Following the recent Windows update and system reboot, we encountered an authorization error while accessing a specific API endpoint in the Umbraco backoffice:
Authorization error: Unauthorized access to URL:
/umbraco/backoffice/umbracoapi/mediatype/GetById
While general functionality like media uploads and content changes remained unaffected, this error persisted and was visible in the console during backoffice operations.
Root Cause:
After investigation, it was determined that the Dynamic IP Restriction settings at the IIS level (likely enforced via a WAF or IP security module) were blocking or interfering with internal API requests made by Umbraco.
Umbraco’s backoffice framework appears to be sensitive to IP-based filtering, particularly when dynamic or loopback IPs are involved in server-side API calls.
Resolution:
We resolved the issue by removing the dynamic IP restriction rule from the IIS configuration. Once this was done, the authorization errors ceased, and full functionality was restored in the Umbraco admin interface.