<?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: Unable to call AML pipeline from Fabric data pipeline in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4299291#M6469</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="860258" data-lia-user-login="redherring101" class="lia-mention lia-mention-user"&gt;redherring101&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your question belongs to the Data Factory forum, and I have moved the post to the appropriate forum for you, where a professional will be able to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 07:00:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-25T07:00:32Z</dc:date>
    <item>
      <title>Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4297765#M6468</link>
      <description>&lt;H2&gt;I am trying to trigger an AML pipeline from my Fabric data pipeline, but I am getting the following error:&lt;/H2&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Request sent to Azure ML Service for operation 'validateWorkspace' failed with http status code 'Unauthorized'. Error message from Azure ML Service: '{"error":{"code":"InvalidAuthenticationTokenAudience","message":"The access token has been obtained for wrong audience or resource 'https://ml.azure.com'. It should exactly match with one of the allowed audiences 'https://management.core.windows.net/','https://management.core.windows.net','https://management.azure.com/','https://management.azure.com'."}}'.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using my organizational account to connect to the AML workspace from Fabric. This account has Contributor and AzureML Data Scientist access on the AML workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 18:54:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4297765#M6468</guid>
      <dc:creator>redherring101</dc:creator>
      <dc:date>2024-11-22T18:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4297709#M6487</link>
      <description>&lt;P&gt;I am trying to trigger an AML pipeline from my Fabric data pipeline, but I am getting the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Request sent to Azure ML Service for operation 'validateWorkspace' failed with http status code 'Unauthorized'. Error message from Azure ML Service: '{"error":{"code":"InvalidAuthenticationTokenAudience","message":"The access token has been obtained for wrong audience or resource 'https://ml.azure.com'. It should exactly match with one of the allowed audiences 'https://management.core.windows.net/','https://management.core.windows.net','https://management.azure.com/','https://management.azure.com'."}}'.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I am using my Organizational account to set up the connection and that account does have access to AML. Here is a screenshot of the error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:58:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4297709#M6487</guid>
      <dc:creator>redherring101</dc:creator>
      <dc:date>2024-11-22T17:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4299291#M6469</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="860258" data-lia-user-login="redherring101" class="lia-mention lia-mention-user"&gt;redherring101&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your question belongs to the Data Factory forum, and I have moved the post to the appropriate forum for you, where a professional will be able to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 07:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4299291#M6469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-25T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4300891#M6477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="860258" data-lia-user-login="redherring101" class="lia-mention lia-mention-user"&gt;redherring101&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It looks like the error you're encountering is due to the access token being issued for the wrong audience or resource. The token should be obtained for one of the allowed audiences such as &lt;A href="https://management.core.windows.net/" target="_blank"&gt;https://management.core.windows.net/&lt;/A&gt; or &lt;A href="https://management.azure.com/" target="_blank"&gt;https://management.azure.com/&lt;/A&gt; instead of&amp;nbsp;&lt;A href="https://ml.azure.com./" target="_blank"&gt;https://ml.azure.com./&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can do these steps below:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Ensure that the token you are using is requested for the correct audience. You might need to modify the resource URL in your authentication request to match one of the allowed audiences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Navigate to Azure Active Directory &amp;gt; App Registrations &amp;gt; Your App &amp;gt; API Permissions. Add the necessary permissions for Azure Service Management and grant admin consent.&lt;/P&gt;
&lt;P&gt;You can read this topic as a reference:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/answers/questions/482868/problem-when-i-call-a-get-request-with-an-azure-to" target="_blank"&gt;Problem when i call a GET REQUEST with an AZURE Token, InvalidAuthenticationTokenAudience - Microsoft Q&amp;amp;A&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Make sure you are using the correct authentication flow to obtain the token. For example, if you are using MSAL (Microsoft Authentication Library), ensure that the scope includes the correct resource URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 02:23:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4300891#M6477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-26T02:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4302682#M6484</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;, thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing is that I am not manually requesting a token here, in response to your suggestions 1 and 3. I am using the Azure Machine Learning Activity on the Fabric data pipeline UI to try and trigger an AML pipeline. I don't see an option to set the audience for the authentication request anywhere. The same thing works seamlessly in Synapse, so I think that this is a bug in Fabric whereby the Azure Machine Learning Activity is using the wrong audience when trying to authenticate with Azure Machine Learning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Microsoft Entra admin center, I am unable to find this Fabric workspace under App Registrations, in response to your suggestion 2. I don't think that Fabric resources are really exposed to us like regular Azure resources.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 17:42:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4302682#M6484</guid>
      <dc:creator>redherring101</dc:creator>
      <dc:date>2024-11-26T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4998099#M9095</link>
      <description>&lt;P&gt;I'm having exactly the same problem still in 2026. Has this been fixed since 2024?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:10:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/4998099#M9095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-02-05T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to call AML pipeline from Fabric data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/5316887#M9612</link>
      <description>&lt;P class=""&gt;Same issue here in July 2026&amp;nbsp; still unresolved. I hit InvalidAuthenticationTokenAudience on validateWorkspace calling Azure ML from the Fabric Azure Machine Learning activity.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Worth noting&lt;/STRONG&gt;: this happens for me with &lt;STRONG&gt;Service Principal authentication too&lt;/STRONG&gt;, not just Organizational account (which is what most of this thread describes). The service principal has the correct role assignment (AzureML Data Scientist) on the workspace, so it's not a permissions issue on our end ,the token audience being requested is wrong regardless of auth method.&lt;/P&gt;&lt;P class=""&gt;Would appreciate an update on whether this has a tracked fix, and a timeline if so.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2026 16:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-call-AML-pipeline-from-Fabric-data-pipeline/m-p/5316887#M9612</guid>
      <dc:creator>AtchayaSenthil</dc:creator>
      <dc:date>2026-07-23T16:51:17Z</dc:date>
    </item>
  </channel>
</rss>

