Skip to content

[BUG] Microsoft.Azure.Graph.RBAC.Models.DirectoryObject is missing all expandable properties #16874

@paule96

Description

@paule96

Describe the bug

If you browse the OData API (https://graph.windows.net/tenantid/$metadata), you will see the DirectoryObject has the following properties:

  • objectType
  • objectId
  • deletionTimestamp

and the following navigation properties:

  • createdOnBehalfOf
  • createdObjects
  • manager
  • directReports
  • members
  • transitiveMembers
  • memberOf
  • transitiveMemberOf
  • owners
  • ownedObjects

The problem is that all the navigation properties are not present in the DirectoryObject model.

Expected behavior

The navigation properties should be there.

Actual behavior (include Exception or Stack Trace)

There is no way to get the navigation properties, so no stack trace.

To Reproduce

no reproduction possible.

Environment:

not relevant. Is broken everywhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageGraphService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions