<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynatrace workflow executed by service user not working anymore in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300169#M2620</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67382"&gt;@sujit_k_singh&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I've checked the audit, we did not change the permissions and it was working 3 weeks ago.&lt;BR /&gt;For this reason, I don't think it is related (directly) to the permissions of the service user.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Florent&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2026 07:27:30 GMT</pubDate>
    <dc:creator>ftmazzone</dc:creator>
    <dc:date>2026-06-02T07:27:30Z</dc:date>
    <item>
      <title>Dynatrace workflow executed by service user not working anymore</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/299735#M2608</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Since the beginning of the week, the &lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/workflows" target="_self"&gt;workflows&lt;/A&gt; executed by a &lt;A href="https://docs.dynatrace.com/docs/manage/identity-access-management/user-and-group-management/access-service-users" target="_self"&gt;service user&lt;/A&gt; are not running anymore and failing with the following error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;431: Request Header Fields Too Large
    at MetricsClient.query (file:///opt/sdk_modules/@dynatrace-sdk/client-classic-environment-v2@4/esm/index.js:14847:21)
    at eventLoopTick (ext:core/01_core.js:177:7)
    at async computeAvailabilityFor (file:///script.ts:118:20)
    at async default (file:///script.ts:21:9)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The failing API is the following : `/platform/classic/environment-api/v2/metrics/query?metricSelector=builtin`.&lt;BR /&gt;The same workflow is executed without issue with a "standard" user. The issue is only happening with service users.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I've read the&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/DQL/Error-when-running-DQL-Query-through-workflow/m-p/223541" target="_self"&gt;Error when running DQL Query through workflow&lt;/A&gt;&amp;nbsp;but do not know how to restrict authorizations for a service user and don't understand why it is suddenly failing as it worked without problem since 2025.&lt;BR /&gt;&lt;BR /&gt;Are you aware of any change for the workflow or any permission required for the service user ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Florent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 06:38:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/299735#M2608</guid>
      <dc:creator>ftmazzone</dc:creator>
      <dc:date>2026-05-21T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace workflow executed by service user not working anymore</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300160#M2617</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/89392"&gt;@ftmazzone&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;The error 431: Request Header Fields Too Large is typically caused by the request exceeding the allowed HTTP header size.&lt;/P&gt;&lt;P&gt;In workflows, this is known to occur when the executing identity (particularly a service user) has too many permissions or scopes assigned. These permissions are included in the request context and can cause the header size to exceed platform limits.&lt;/P&gt;&lt;P&gt;Why it works with a standard user:&lt;SPAN&gt;&amp;nbsp;Standard users typically have fewer directly-bound policies, they inherit permissions through groups, which keeps the token smaller.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Recommended actions:&amp;nbsp;&lt;SPAN&gt;Review the service user’s assigned groups and policies.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Reduce permissions to the&lt;/SPAN&gt; minimum required scopes only.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jun 2026 04:29:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300160#M2617</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-06-02T04:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace workflow executed by service user not working anymore</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300169#M2620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67382"&gt;@sujit_k_singh&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I've checked the audit, we did not change the permissions and it was working 3 weeks ago.&lt;BR /&gt;For this reason, I don't think it is related (directly) to the permissions of the service user.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Florent&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 07:27:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300169#M2620</guid>
      <dc:creator>ftmazzone</dc:creator>
      <dc:date>2026-06-02T07:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace workflow executed by service user not working anymore</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300179#M2621</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/89392"&gt;@ftmazzone&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for confirming. If permissions haven't changed then I am not sure what could be the reason,&amp;nbsp;Support ticket is your best path here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sujit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 09:29:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300179#M2621</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-06-02T09:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace workflow executed by service user not working anymore</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300183#M2623</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67382"&gt;@sujit_k_singh&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;I've opened a support ticket but they are also unsure about the issue. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; It looks like the old metric API is not working the same way as before as the new API is not impacted.&lt;BR /&gt;&lt;BR /&gt;Florent&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 09:42:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-workflow-executed-by-service-user-not-working-anymore/m-p/300183#M2623</guid>
      <dc:creator>ftmazzone</dc:creator>
      <dc:date>2026-06-02T09:42:23Z</dc:date>
    </item>
  </channel>
</rss>

