AadHttpClient constructor removed from 1.5 plusbeta release
Category
- [X] Question
- [X] 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?
Possible duplicate of https://github.com/SharePoint/sp-dev-docs/issues/1964
We are working on fixing this with updated npm packages within upcoming days. Sorry for the inconvenience.
This is what I use and it works: let _client = new (AadHttpClient as any)(this.context.serviceScope, 'aad app id')
Solution here #2093
Sorry - this should have been closed a long time ago.
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