Forum Discussion
Fabric pipeline activities web activity Oauth error
- 6 months ago
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
https://learn.microsoft.com/fabric/data-factory/web-activity
https://learn.microsoft.com/fabric/data-factory/connector-web
These documents explain how Web activity calls REST endpoints and requires a configured authenticated connection.
Hello stiggrr87
- Web activity
- Authentication: Organizational account
- OAuth sign-in
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