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

Azure AD Graph API will be deprecated on July 1st #135

Open
nielsranosch opened this issue Dec 14, 2021 · 1 comment
Open

Azure AD Graph API will be deprecated on July 1st #135

nielsranosch opened this issue Dec 14, 2021 · 1 comment

Comments

@nielsranosch
Copy link

nielsranosch commented Dec 14, 2021

Hello!

DSInternals uses Azure AD Graph API to read the key material from Azure AD. Microsoft has announced that Azure AD Graph API will be decomissioned on the 30th of June. This will include the endpoint graph.windows.net which is currently used by DSInternals.

In Microsoft Graph, one can obtain all (currently supported) authentication methods by calling GET /users/{id}/authentication/methods (see here and here for more info). For example, this can return the resource type windowsHelloForBusinessAuthenticationMethod, which seems to be designed to:

  • list keys for users
  • ascertain weakness/strength
  • map keys to devices (the advertised NavigationProperty device does not seem to work, but one can use ?$expand=device)
  • delete keys

Most notably, obtaining the raw key material does not seem to be supported (I didn't find a way to obtain the key material, but maybe someone else will).

Assuming Microsoft actually decomissions Azure AD Graph on the 1st of July, some functionality of this module will be lost. While most can be regained by switching to Microsoft Graph endpoints, it seems that some functionality will simply not be available there.

In any case, I just wanted to draw your attention to this. :-)

@MichaelGrafnetter
Copy link
Owner

MichaelGrafnetter commented Dec 14, 2021

Thanks @nielsranosch . I am aware of the AAD Graph API deprecation. There even is a Microsoft-provided PowerShell wrapper of the new MS Graph API BETA, e.g., Get-MgUserAuthentication, although it is very poorly documented.

On the other hand, some features of the old API currently do not have any counterpart in the new API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants