Skip to content

SPFX using AadHttpClient to access AAD secured endpoint not working on Teams Tab #4013

@Ashish1662

Description

@Ashish1662

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

We are using a SPFX client webpart using v1.8.1 and have successfully consumed an AAD protected endpoint. We have used AadHttpClient to take care of token acquisition which works pretty well in a SP web page.

However, when adding the WP as teams tab, it loads infinitely and does not show anything. Is this a known issue or am we are missing something. If it know what could be the possible workarounds.

Also the teams dev tools console is not showing any detailed information/error to debug or to start the RCA.

auth_spfx_teams_client

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:spfxCategory: SharePoint Framework (not extensions related)status:by-designTopic described is by design & not considered an issue.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)status:working-on-itKnown issue / feature being addressed. Will use other "status:*" labels & comments for more detail.type:bug-confirmedConfirmed bug, not working as designed / expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions