Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AadHttpClient constructor removed from 1.5 plusbeta release #2001

Closed
2 tasks done
OliverZeiser opened this issue Jun 10, 2018 · 6 comments
Closed
2 tasks done

AadHttpClient constructor removed from 1.5 plusbeta release #2001

OliverZeiser opened this issue Jun 10, 2018 · 6 comments
Labels
area:spfx Category: SharePoint Framework (not extensions related) status:tracked Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)

Comments

@OliverZeiser
Copy link

Category

  • Question
  • Bug

Expected or Desired Behavior

We should be able to use the AadHttpClient in 1.5 plusbeta. Thats what the beta is for, right?

Observed Behavior

The Typescript Definition file states Excluded from this release type: __constructor
So how should we use the AadHttpClient?

@MortenGuldbaek
Copy link

Possible duplicate of #1964

@VesaJuvonen
Copy link
Contributor

We are working on fixing this with updated npm packages within upcoming days. Sorry for the inconvenience.

@VesaJuvonen VesaJuvonen added type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. area:spfx Category: SharePoint Framework (not extensions related) status:tracked Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed) labels Jun 12, 2018
@muradaliyev
Copy link

muradaliyev commented Jun 12, 2018

This is what I use and it works:
let _client = new (AadHttpClient as any)(this.context.serviceScope, 'aad app id')

@vsoderholm
Copy link

Solution here #2093

@andrewconnell andrewconnell removed type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. labels Jun 19, 2019
@patmill
Copy link
Contributor

patmill commented Sep 2, 2021

Sorry - this should have been closed a long time ago.

@patmill patmill closed this as completed Sep 2, 2021
@ghost
Copy link

ghost commented Sep 10, 2021

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:spfx Category: SharePoint Framework (not extensions related) status:tracked Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)
Projects
None yet
Development

No branches or pull requests

7 participants