Divided into Tenants Example: Users, Groups, Contacts, Roles, Licenses Member/Member of, Manager/Direct reports.

Download Report

Transcript Divided into Tenants Example: Users, Groups, Contacts, Roles, Licenses Member/Member of, Manager/Direct reports.

Divided into Tenants
Example: Users, Groups, Contacts, Roles, Licenses
Member/Member of, Manager/Direct reports
5
<Service root>/<resource path>[? Query string options]
https://directory.windows.net/contoso.com/Users?$filter=DisplayName eq ‘Adam Barr”
https://directory.windows.net/$metadata
https://directory.windows.net/contoso.com/
https://directory.windows.net/contoso.com/TenantDetails
https://directory.windows.net/contoso.com/Users
https://directory.windows.net/contoso.com/Groups
https://directory.windows.net/contoso.com/Roles
https://directory.windows.net/contoso.com/Contacts
https://directory.windows.net/contoso.com/SubscribedSkus
Example of filters
?$filter=City eq ‘Redmond‘
?$filter=GivenName eq ‘Adam' and Surname eq ‘Barr‘
?$filter=Surname ge ‘Jackson' and Surname le ‘Jz'
Response
Response body JSON or XML
HTTP Response Code
Request: https://directoryppe.windows.net/PharmSales.info/Users(‘[email protected]’)
Returned JSON user object
"d": {"__metadata": {"id": "https://directoryppe.windows.net/PharmaSales.info/Users('User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c')",
"uri": "https://directoryppe.windows.net/PharmaSales.info/Users('User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c')",
"type": "Microsoft.Online.DirectoryApi.User"
},"Manager": {"__deferred": {
"uri": "https://directoryppe.windows.net/PharmaSales.info/Users('User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c')/Manager"}
},"DirectReports": {"__deferred": {
"uri": "https://directoryppe.windows.net/PharmaSales.info/Users('User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c')/DirectReports"}
},"MemberOf": {
"__deferred": {"uri": "https://directoryppe.windows.net/PharmaSales.info/Users('User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c')/MemberOf"
"ObjectId": "d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c",
"ObjectReference": "User_d7aadc28-a2ea-4c0e-aabe-f13c675b3e9c",
"ObjectType": "User","AccountEnabled": true,
"AssignedLicenses": {"__metadata": {"type": "Collection(Microsoft.Online.DirectoryApi.AssignedLicense)"},"results": [ ]},
"AssignedPlans": {"__metadata": {"type": "Collection(Microsoft.Online.DirectoryApi.AssignedPlan)"},"results": [ ]},
"City": "Redmond","Country": "US","Department": null,"DirSyncEnabled": null,"DisplayName": "Adam Barr","FacsimileTelephoneNumber":
null,"GivenName": "Adam","JobTitle": null,"LastDirSyncTime": null,"Mail": null,"Mobile": null,"OtherMails": {"__metadata": {"type":
"Collection(Edm.String)"},"results": [ ]}"PasswordPolicies": "None","PhysicalDeliveryOfficeName": null,"PostalCode": "98052","PreferredLanguage": nu
"ProvisionedPlans": {"__metadata": {"type": "Collection(Microsoft.Online.DirectoryApi.ProvisionedPlan)"},"results": [ ]},
"ProvisioningErrors": {"__metadata": {"type": "Collection(Microsoft.Online.DirectoryApi.ProvisioningError)"},"results": [ ]},
"ProxyAddresses": {"__metadata": {"type": "Collection(Edm.String)"},"results": [ ]},"State": "WA","StreetAddress": "One Microsoft Way",
"Surname": "Barr","TelephoneNumber": "425-882-8080","UsageLocation": "US","UserPrincipalName": "[email protected]"}
}
https://Directory.windows.net/Contoso.com/Users(‘[email protected]’)/Manager
https://Directory.windows.net/Contoso.com/Users(‘[email protected]')/DirectReports
https://Directory.windows.net/contoso.com/Users(‘[email protected]')/MemberOf
https://directory.windows.net/contoso.com/Groups('Group
_1a9f7ab7-4292-414e-ad33-11dc679f364c')/MemberOf
https://directory.windows.net/contoso.com/Groups('Group
_1a9f7ab7-4292-414e-ad33-11dc679f364c')/Members
http://www.odata.org
Healthcare
Government
Energy
& Utilities
Transportation
Over 300 Enterprise
Customers
Retail
Across All Industries
Banking
Insurance
Telecom
2 Million TITUS
Users
Military
Chemical &
Petroleum
1
Engineering
[email protected]
http://www.optimalidm.com
LDAP Virtual Directory
Easy to consume data using OData for .Net
Very little custom code for MA implementation
Authentication tested using symmetric and PKI
(asymmetric) tokens
POST /Contoso.com/Users HTTP/1.1
Host: https://directory.Windows.net
Content-Type:
application/json;odata=verbose
Authorization: Bearer ey1287Z………
X-ms-dirapi-contract-version: 0.5
[email protected]
3
http://msdn.microsoft.com/en-us/library/hh974476.aspx
www.office365.com
Divided into Tenants
Example: Users, Groups, Contacts, Roles, Licenses
Member/Member of, Manager/Direct reports
3
MSDN Documentation: Windows Azure AD Graph API
http://msdn.microsoft.com/en-us/library/hh974476.aspx
Preview Sample Application download link
http://go.microsoft.com/fwlink/?LinkID=95732&clcid=0x409
#TE(sessioncode)
DOWNLOAD
Windows Server
2012 Release
Candidate
Hands-On Labs
microsoft.com/windowsserver
DOWNLOAD
Windows Azure
Windowsazure.com/
teched
http://northamerica.msteched.com
www.microsoft.com/learning
http://microsoft.com/technet
http://microsoft.com/msdn