OneDrive "Convert file" HTML -> PDF stopped applying <style> block CSS today, 2026-09-04, after 1.5 years working correctly

Sebastian Velasquez-Munera 20 Reputation points
2026-09-04T18:29:52.62+00:00

Summary

The OneDrive for Business "Convert file" action (HTML → PDF) has worked

reliably for approximately 1.5 years with no CSS-related issues. Today,

2026-09-04, it started intermittently failing to apply CSS rules declared

inside the <style> block in the <head> of the source HTML — while inline

styles (style="...") continue to render correctly.

This is the FIRST time this issue has occurred. It is not a known recurring

problem on our side; nothing changed in our HTML template, CSS, or flow

configuration before today.

Environment

  • Power Automate (Cloud Flow)
  • Actions: OneDrive for Business – Create file (HTML) → Convert file (to PDF) → Create file (PDF)
  • Trigger: Power Apps
  • Volume: hundreds of conversions/day
  • History: same HTML/CSS template in production for ~1.5 years with no prior issues

Timeline — All events on 2026-09-04

  • 08:23 AM: PDF generated correctly, full CSS applied.
  • 08:56 AM: Same HTML/CSS structure (only form data differs) — PDF generated with all <style> block CSS missing. Only inline styles and isolated attribute-selector rules (input[type='checkbox']:checked) were applied.
  • Confirmed via diff that the two source HTML files are byte-identical in <head>/<style> — only form data values (names, checkbox states, signature images) differ. This rules out the HTML/CSS as the cause.
  • Later: after some time, a subsequent test conversion succeeded with full styling applied, suggesting the issue had resolved.
  • Shortly after: ran several more test conversions with the same template. Only 1 out of several produced a correctly styled PDF; the rest again had missing <style> CSS.
  • As of now, the issue is intermittent and ongoing today.

Steps to Reproduce

  1. Generate an HTML file containing a <style> block with element selectors (html, body), classes (e.g. .bg-gray-200), and attribute selectors (input[type='checkbox']:checked).
  2. Save the HTML file via OneDrive "Create file".
  3. Convert it to PDF via OneDrive "Convert file".
  4. Save the resulting PDF via "Create file".
  5. Repeat several times with the same HTML/CSS structure (only form data changes between runs) — result is inconsistent between runs.

Expected Behavior

All CSS rules declared in <style> are consistently applied in every

resulting PDF, matching how the HTML renders in a browser, and matching the

behavior this flow has had for the past 1.5 years.

Actual Behavior

  • Same HTML/CSS template produces correctly styled PDFs on some runs and PDFs missing all <style> block CSS on other runs, with no pattern tied to the HTML/CSS content itself (confirmed identical via diff).
  • Success rate today has been very low (1 correct PDF out of several test runs).

Evidence

  • Diff of source HTML from the 08:23 AM (good) and 08:56 AM (bad) runs: 0 differences in <head>/<style>, confirming the CSS/template is not the cause.
  • This matches community reports of the OneDrive/SharePoint HTML-to-PDF conversion backend having intermittent, non-deterministic rendering issues, with Microsoft having previously confirmed internal service incidents (ICM tickets) on this exact conversion path.

Impact

  • Business-critical safety/compliance PDF forms (work-at-height permits) are currently being generated with missing layout/branding styles.
  • High volume (hundreds/day) makes manual QA of every PDF impractical.
  • Actively affecting production today.

Priority

HIGH — first-time occurrence today, actively affecting production, very low

success rate in same-day testing.

Microsoft 365 and Office | OneDrive | For business | Windows

2 answers

Sort by: Most helpful
  1. Hendrix 970 Reputation points Independent Advisor
    2026-09-07T22:22:24.2266667+00:00

    Hi everyone,

    Since there are many users experiencing the same behavior, this is a high possibility that there could be an ongoing service degradation. However, after my research, there is no official article or announcement from Microsoft that confirms or provides information regarding this issue.

    That said, I highly recommend contacting your administrator and ask them to use the" Report an issue" option within the Microsoft 365 Admin Center > Health > Service health > Overview > Report an issue to submit feedback and diagnostic information directly to Microsoft, as this may help provide additional data for investigation.

    User's image

    Thank you for your cooperation and understanding.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  2. Hendrix 970 Reputation points Independent Advisor
    2026-09-04T21:38:39.6966667+00:00

    Hi Sebastian,

    Thank you for your detailed sharing.

    I have tried reproducing the situation you described in my testing environment but I cannot gather more insights about which may be the problem causing this issue.

    Therefore, for you to receive the best possible assistance in this case, I recommend reaching out to your IT administrator to create a support ticket via Microsoft 365 Admin Center > Support > Help & Support for further backend investigation. 

    This routes ensures you can contact technical support engineer who can perform a remote session to investigate the situation, verify the backend configurations, and run any necessary synchronization tools to resolve the problem. If the issue requires further attention, they can escalate it to a specialized team for deeper analysis.

    I hope this helps point you in the right direction. While I’m not able to intervene directly, guiding you to the right support team is the most effective help I can provide here.

    Hope you're able to get this resolved soon.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

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.