Forum Discussion

stiggrr87's avatar
stiggrr87
Helper I
5 months ago
Solved

Fabric pipeline activities web activity Oauth error

I cannot log into the connection to Oauth my user for web activity

 

 

  • Hello stiggrr87,

     

    This issue usually occurs when the OAuth connection used by the Web activity is not configured or authenticated correctly.

    Recommended checks

    • Create the connection first

    Create the OAuth connection in Manage connections in Microsoft Fabric, then select that connection inside the Web activity.
    Creating the connection directly inside the activity can sometimes cause the OAuth sign-in popup to fail.

    • Verify the OAuth configuration

    Ensure the following values are correct:

    • Authorization URL

    • Token URL

    • Client ID

    • Client Secret

    • Redirect URI

    Incorrect values will prevent the OAuth flow from completing.

    • Check tenant permissions

    In some organizations, Microsoft Entra ID policies restrict user consent for applications.
    If this is the case, an administrator may need to grant admin consent for the OAuth application.

    • Recreate the connection

    If the OAuth token expired (for example after password or MFA changes), deleting and recreating the connection usually resolves the issue.

    Documentation

    These documents explain how Web activity calls REST endpoints and requires a configured authenticated connection.

     

3 Replies

  • Hello stiggrr87,

     

    This issue usually occurs when the OAuth connection used by the Web activity is not configured or authenticated correctly.

    Recommended checks

    • Create the connection first

    Create the OAuth connection in Manage connections in Microsoft Fabric, then select that connection inside the Web activity.
    Creating the connection directly inside the activity can sometimes cause the OAuth sign-in popup to fail.

    • Verify the OAuth configuration

    Ensure the following values are correct:

    • Authorization URL

    • Token URL

    • Client ID

    • Client Secret

    • Redirect URI

    Incorrect values will prevent the OAuth flow from completing.

    • Check tenant permissions

    In some organizations, Microsoft Entra ID policies restrict user consent for applications.
    If this is the case, an administrator may need to grant admin consent for the OAuth application.

    • Recreate the connection

    If the OAuth token expired (for example after password or MFA changes), deleting and recreating the connection usually resolves the issue.

    Documentation

    These documents explain how Web activity calls REST endpoints and requires a configured authenticated connection.

     

  • Hello stiggrr87 

     

    Web activity in a Fabric pipeline does NOT support interactive user OAuth. So when you try to use:
    • Web activity
    • Authentication: Organizational account
    • OAuth sign-in
    Fabric cannot complete the login, and you get exactly the error shown.
     
    Pipelines are non interactive.

    Fabric pipelines run:

    • Server-side
    • Headless
    • Without a user session

    But OAuth (Organizational account) requires:

    • A browser
    • An interactive user sign-in
    • MFA challenges

    That works in:

    • Dataflow Gen2 authoring
    • Power BI UI
    • Manual sign-in screens
    Fabric still shows the Sign in button in the UI, but the token cannot be used at runtime.
     
  • v-achippa's avatar
    v-achippa
    Community Support

    Hi stiggrr87,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    Thank you Olufemi7 and deborshi_nag for the prompt response.

     

    As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user's for the issue worked? or let us know if you need any further assistance.

     

    Thanks and regards,

    Anjan Kumar Chippa