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

Write/configure a basic Azure AD/Office 365 test integration #5

Open
jtgasper3 opened this issue Jan 20, 2016 · 6 comments
Open

Write/configure a basic Azure AD/Office 365 test integration #5

jtgasper3 opened this issue Jan 20, 2016 · 6 comments
Milestone

Comments

@jtgasper3
Copy link
Contributor

Prove out in code (via a unit test possibly) that we can in fact use our OIDC credential to connect to and communicate with Azure AD and Office 365.

@jtgasper3 jtgasper3 added this to the M1 milestone Jan 20, 2016
@dima767
Copy link
Member

dima767 commented Jan 21, 2016

If there is more detailed documentation available somewhere on the use of the Java SDK mentioned above other than source code itself, it would be very helpful, @zckb @nimojg-microsoft

@jtgasper3
Copy link
Contributor Author

Hi Dima, Have you seen these: https://graph.microsoft.io/docs/api-reference/v1.0/resources/group

@dima767
Copy link
Member

dima767 commented Jan 21, 2016

I've seen these. The main goal is to use the provided Java SDK with all the low level plumbing taken care of. I was seeking for more details on SDK usage info/samples

@jtgasper3
Copy link
Contributor Author

The SDK just wraps these calls. Methods/properties should align. We can play...

@dima767
Copy link
Member

dima767 commented Jan 21, 2016

If you dig deeper into the SDK API, not everything is straightforward as one might think (to find a clear one-to-one mapping, etc.):

https://github.com/OfficeDev/Office-365-SDK-for-Java/blob/master/sdk/graph-services/src/main/java/com/microsoft/services/graph/fetchers/GroupFetcher.java

https://github.com/OfficeDev/Office-365-SDK-for-Java/blob/master/sdk/graph-services/src/main/java/com/microsoft/services/graph/fetchers/GroupOperations.java

https://github.com/OfficeDev/Office-365-SDK-for-Java/blob/master/sdk/graph-services/src/main/java/com/microsoft/services/graph/fetchers/GroupCollectionOperations.java

https://github.com/OfficeDev/Office-365-SDK-for-Java/blob/master/sdk/graph-services/src/main/java/com/microsoft/services/graph/fetchers/GraphServiceClient.java

For example, how does one perform create/update/delete operations for groups with the SDK API, etc. ?Hence my original question for more documentation/examples of the SDK usage.

Anyway, we are going to have to play with the SDK API to find a "feel" for it, once we get appropriate OAuth tokens, credentials, etc.

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

No branches or pull requests

2 participants