msgraph-sdk-dotnet
msgraph-sdk-dotnet copied to clipboard
Organization does not include DirectorySizeQuota
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:
- Create a new project
- Install the Microsoft.Graph nuget package
- Open Object browser and expand Microsoft.Graph \ Microsoft.Graph \ Organization
- 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
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Postman
Additional context Add any other context about the problem here.
Related item to update docs as well: https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/2343