You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The SDK has no implementation for authentication sign-in preferences, there is no on SignInPreferencesRequestBuilder the AuthenticationRequestBuilder to create a get or update request.
The model does exist:
Microsoft.Graph.Beta.Models.SignInPreferences
so for now I replace the last segment of the url...
To Reproduce
var request = _microsoftGraphClient
.Users[identifier]
.Authentication
.MicrosoftAuthenticatorMethods
.ToGetRequestInformation();
// signInPreferences aren't in the sdk, get any request with the same url and replace it with signInPreferences
request.URI = new Uri(request.URI.AbsoluteUri.Replace(request.URI.AbsoluteUri.Split('/').Last(), "signInPreferences"));
// the model for the signInPreferences is available to parse the result
var result = await request.SendRequest(_microsoftGraphClient, Microsoft.Graph.Beta.Models.SignInPreferences.CreateFromDiscriminatorValue);
The text was updated successfully, but these errors were encountered:
Describe the bug
The SDK has no implementation for authentication sign-in preferences, there is no on SignInPreferencesRequestBuilder the AuthenticationRequestBuilder to create a get or update request.
The model does exist:
Microsoft.Graph.Beta.Models.SignInPreferences
so for now I replace the last segment of the url...
To Reproduce
var request = _microsoftGraphClient
.Users[identifier]
.Authentication
.MicrosoftAuthenticatorMethods
.ToGetRequestInformation();
// signInPreferences aren't in the sdk, get any request with the same url and replace it with signInPreferences
request.URI = new Uri(request.URI.AbsoluteUri.Replace(request.URI.AbsoluteUri.Split('/').Last(), "signInPreferences"));
// the model for the signInPreferences is available to parse the result
var result = await request.SendRequest(_microsoftGraphClient, Microsoft.Graph.Beta.Models.SignInPreferences.CreateFromDiscriminatorValue);
The text was updated successfully, but these errors were encountered: