Share via

Service Disruption: OneDrive Delete Operation Failing in Azure Logic Apps (HTTP 502/500)

Nate Chapman 0 Reputation points
2026-03-23T11:33:49.7766667+00:00

We are experiencing a service disruption impacting delete operations in our workflow integration between Azure Logic Apps and OneDrive for Business.

 

Issue Summary: Delete actions against OneDrive for Business are consistently failing when executed via Azure Logic Apps, returning HTTP 502/500 errors. The same files can be deleted successfully through the OneDrive UI, indicating that permissions and retention policies are not the root cause.

 

Observed Behavior:

Create and update operations are functioning as expected Delete operation fails via Logic Apps with 502/500 errors Manual deletion via OneDrive UI succeeds Issue started occurring suddenly without any changes to workflow configuration

 

Context: This behavior began after a recent Microsoft service update referencing: “We’re progressing with our review of alternate approaches to determine whether any active groups remain impacted and to confirm whether additional processing is needed.”

 

This suggests a potential backend inconsistency or connector-level issue affecting delete operations.

 

Technical Details:

Service: Azure Logic Apps Connector: OneDrive for Business Operation: Delete file Error Codes: 502 (Bad Gateway), 500 (Server Error)

 

Impact:

Workflow automation is partially degraded Delete operations are unreliable and failing intermittently Business processes dependent on these actions are affected

 

Troubleshooting Performed:

Verified manual deletion works Confirmed no retention policies blocking deletion Revalidated connector authentication Observed issue persists across retries

 

Request: Confirm if this issue is related to the ongoing service update Validate whether our tenant is impacted by backend inconsistencies Provide ETA or mitigation guidance Advise if additional processing is required on Microsoft’s side

 

We appreciate your support in resolving this issue and look forward to your guidance.

Below is an error message example:

User's image

User's image

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.


1 answer

Sort by: Most helpful
  1. Sina Salam 28,361 Reputation points Volunteer Moderator
    2026-03-30T08:59:58.83+00:00

    Hello Nate Chapman,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you're having Service Disruption: OneDrive Delete Operation Failing in Azure Logic Apps (HTTP 502/500).

    The failure is caused by a breaking change in the OneDrive Logic Apps connector, where the DELETE operation no longer correctly maps to the backend Microsoft Graph API. Evidence shows the OneDrive UI can still delete files, but Logic Apps DELETE calls return 500/502, confirming a regression in the connector layer rather than the service itself. See Graph API file deletion model: https://learn.microsoft.com/graph/api/driveitem-delete.

    The best practice solution is to bypass the faulty connector and invoke Microsoft Graph DELETE directly through a Logic Apps HTTP action, which uses the supported API path. Retrieve the file ID (GET /me/drive/root:/path/to/file) and authenticate using Managed Identity or OAuth 2.0, then issue:

    DELETE https://graph.microsoft.com/v1.0/me/drive/items/{item-id}

    Add 3–5 retry attempts with exponential backoff per Azure Logic Apps guidance: https://learn.microsoft.com/azure/logic-apps/logic-apps-workflow-actions-triggers.

    If Graph requests also fail, verify Microsoft 365 service health for OneDrive/SharePoint in the Admin Center, as backend outages can propagate to DELETE operations. For edge scenarios, validate file locks, version conflicts, or DriveItem states, although these are rare since UI deletion succeeds. Official service health and SharePoint backend behavior: https://learn.microsoft.com/microsoft-365/admin/service-health.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.