-
Notifications
You must be signed in to change notification settings - Fork 851
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 Active Directory API Deprecated #7352
Comments
Hi @jdelforno thanks for this issue, but I did not quite understand what you are referring to. Can you be more specific? |
Hey @ArcturusZhang The Azure AD Graph API ( https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-graph-api ) has been deprecated by Microsoft.
As the code states it's using the Azure AD Graph API (graph.windows.net), it should be mentioned somewhere that a refactor is required against those items that require it and to make use of the MS Graph API in future (https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0). Otherwise, people may look at the Azure AD API, get it confused with the MS Graph API and draw the wrong conclusions. Cheers, |
Hi @jhendrixMSFT could you bring some context about this? |
@jdelforno hello! The contents of this SDK (excluding the @ArcturusZhang Do we have a swagger for the MS Graph APIs yet? |
Well, when I search the end point of MS Graph |
Hi @ArcturusZhang @jhendrixMSFT, |
@phenixdotnet See microsoftgraph/MSGraph-SDK-Code-Generator#53, there is no Golang generator in that project and none has been made yet since it was suggested in 2016. |
@sirlatrom yes I know that but if the MSGraph code generator is still the way to go (CF microsoftgraph/msgraph-sdk-design#28), it could be possible to write the necessary t4 to get a go sdk. (actually I have a POC with that by the way). |
Given the Odata information is available here: https://graph.microsoft.com/v1.0/$metadata Can we somehow convert it via https://github.com/rbeauchamp/Swashbuckle.OData or https://github.com/oasis-tcs/odata-openapi/tree/master/tools#transformjs-for-nodejs to get the desired outcome? |
The answer to the above was yes, use: https://github.com/oasis-tcs/odata-openapi/blob/master/tools#transformjs-for-nodejs Which generates an OpenAPI 3.0 document. Then use autorest from https://github.com/Azure/AutoRest To start generating Go. Fingers crossed.. |
And for your information, there is a community SDK of msgraph in golang here |
AutoRest doesn't really like OpenAPI 3.0 yet it seems. Adding the -o 2.0 switch to the XLST transform. Trying again. @ArcturusZhang I recognise and acknowledge both points. However, I won't be programming in Go, I'm only be hoping to have the Terraform Azure AD Provider updated. Which to my knowledge, they won't use anything that's not part of the Azure repo as a whole =) |
@jdelforno If you are looking for OpenAPI documents that will work with AutoREST, we have these here https://github.com/microsoftgraph/msgraph-sdk-powershell/tree/dev/openApiDocs that we use for the AutoREST PowerShell generation. |
Hey @darrelmiller , do you have some news about the Go support for SDK generation? Also, @phenixdotnet, you say you have a POC, could you share it? |
Hey everyone 👋 |
With the Azure AD Graph deprecation deadline @baywet, was your last comment here addressed to developers or users of azure-sdk-for-go? I'm not sure whether I'm supposed to abandon azure-sdk-for-go for Microsoft Graph Go SDK, or wait for azure-sdk-for-go to adopt Microsoft Graph Go SDK (or some other solution) under the hood. @jhendrixMSFT, can you advise? |
@jhendrixMSFT As a developer I'm feeling lost between a deprecated SDK and a not feasible solution for the next months and I'm fearing the deprecation of the Azure AD API "soon". |
Unfortunately, I don't have a good answer at present. I brought this up in our scrum yesterday but nothing concrete has been formed yet. |
If helpful, another community SDK can be found here https://github.com/manicminer/hamilton, which is used by the azure ad terraform provider. (I can’t speak to its relation/strategy to the aforementioned preview go sdk, just have followed the azure ad terraform provider progress to MS Graph) |
even if https://github.com/manicminer/hamilton is a good alternative I would be happy if the https://github.com/microsoftgraph/msgraph-sdk-go gets more attention from Microsoft as official product. @baywet is working hard to provide a good sdk. @jhendrixMSFT |
I agree that getting a solid msgraph-sdk-go is the right long-term solution. While I can't make any promises, I will pass this info along to management in hopes of getting more traction. |
Is https://github.com/microsoftgraph/msgraph-sdk-go the way forward? (I see it is now on version |
Hey everyone, |
Hi @jdelforno. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Hi @jdelforno, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Make use of the Microsoft Graph API rather than updating the AAD API Endpoint.
You're effectively investing time that's going to be redundant as a rewrite will be required when the Azure AD API reaches EOL.
Learning some Golang atm to contribute but food for thought.
The text was updated successfully, but these errors were encountered: