Hi for all,
when i try to access to MSGraph using ADAL JS. I get the I have TypeError: _Cannot read property 'configurations' of undefined_
.get(v1.0/groups/ + StatePermissions.siteInfo.o365GroupId + /owners?$select=mail,userPrincipalName,displayName, GraphHttpClient.configurations.v1)
when i debug the the problem i m whonder that the GraphHttpClient is undefined is the cause to get undefined configuration
To reproduce problem:
SPFx version : 1.3.4
adal version: ^1.0.25"
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
One workaround is to send empty object {} instead of using GraphHttpClient which is null.
ex:
import { GraphHttpClientConfiguration } from '@microsoft/sp-http';
...
graphHttpClient.get('v1.0/groups', {} as GraphHttpClientConfiguration)
We are getting the same error in production with SPFx version 1.4.1
We are getting the same error in production with SPFx version 1.4.1
I Confirm that there was this problem using version
Can you please use the last version of the Framework and check if the error still persists?
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.
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