Hi,
I'm trying to use WAAD Graph API to retrieve Users and Groups with the following code.
private static DirectoryDataService dataService;
QueryOperationResponse<Role> roleQuery = null;
roleQuery = dataService.directoryObjects.Roles.Execute() as QueryOperationResponse<Role>;
It was working fine few weeks ago with the above code and now after updating my WAAD servicereference I get the following error :
'AzureAAD.ServiceReference1.Microsoft.WindowsAzure.ActiveDirectory.DirectoryDataService' does not contain a definition for 'Roles' and no extension method 'Roles' accepting a first argument of type 'AzureAAD.ServiceReference1.Microsoft.WindowsAzure.ActiveDirectory.DirectoryDataService' could be found (are you missing a using directive or an assembly reference?)
It looks like there are no more Users and Roles object in directoryObjects class.
can any one pls help me to fix the above problem?
kind regards,
Snegha