msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

Organization does not include DirectorySizeQuota

Open evochriso opened this issue 2 years ago • 1 comments

Describe the bug Both of the following endpoints include a DirectorySizeQuota object with 'used' and 'total' properties. The Organization model in this SDK does not include the DirectorySizeObject data, however the beta SDK does include this data. https://graph.microsoft.com/v1.0/organization https://graph.microsoft.com/beta/organization.

Sample response: { "assignedPlans": [{"@odata.type": "microsoft.graph.assignedPlan"}], "businessPhones": ["string"], "city": "string", "country": "string", "countryLetterCode": "string", "createdDateTime": "String (timestamp)", "deletedDateTime": "String (timestamp)", "directorySizeQuota": { "used": int, "total": int }, "displayName": "string", "id": "string (identifier)", "isMultipleDataLocationsForServicesEnabled": "boolean", "marketingNotificationEmails": ["string"], "onPremisesLastSyncDateTime": "String (timestamp)", "onPremisesSyncEnabled": true, "postalCode": "string", "preferredLanguage": "string", "privacyProfile": {"@odata.type": "microsoft.graph.privacyProfile"}, "provisionedPlans": [{"@odata.type": "microsoft.graph.provisionedPlan"}], "securityComplianceNotificationMails": ["string"], "securityComplianceNotificationPhones": ["string"], "state": "string", "street": "string", "technicalNotificationMails": ["string"], "verifiedDomains": [{"@odata.type": "microsoft.graph.verifiedDomain"}] }

To Reproduce Steps to reproduce the behavior:

  1. Create a new project
  2. Install the Microsoft.Graph nuget package
  3. Open Object browser and expand Microsoft.Graph \ Microsoft.Graph \ Organization
  4. Notice there is not a DirectorySizeQuota property

Expected behavior At a minimum, the 4.x package should include the DirectorySizeQuota data in the Organization model and responses Ideally, the 3.x branch would also be updated to include this property

Screenshots image image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Postman

Additional context Add any other context about the problem here.

evochriso avatar Mar 23 '22 06:03 evochriso

Related item to update docs as well: https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/2343

evochriso avatar Mar 23 '22 07:03 evochriso