Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Microsoft graph api Microsoft Azure graph返回不正确的元数据_Microsoft Graph Api - Fatal编程技术网

Microsoft graph api Microsoft Azure graph返回不正确的元数据

Microsoft graph api Microsoft Azure graph返回不正确的元数据,microsoft-graph-api,Microsoft Graph Api,Microsoft azure图形终结点错误的元数据响应。 这是一种随机行为,我尝试了两个域,每个域都有不同的行为 正确的返回值: <EntityType Name="DirectoryObject" OpenType="true"> <Key> <PropertyRef Name="objectId" /> </Key> <Property Name="objectType" Type="Edm.Str

Microsoft azure图形终结点错误的元数据响应。 这是一种随机行为,我尝试了两个域,每个域都有不同的行为

正确的返回值:

<EntityType Name="DirectoryObject" OpenType="true">

    <Key>
      <PropertyRef Name="objectId" />
    </Key>
    <Property Name="objectType" Type="Edm.String" />
    <Property Name="objectId" Type="Edm.String" Nullable="false" />
    <Property Name="deletionTimestamp" Type="Edm.DateTime" />
    <NavigationProperty Name="createdOnBehalfOf" Relationship="Microsoft.DirectoryServices.DirectoryObject_createdOnBehalfOf" ToRole="createdOnBehalfOf" FromRole="DirectoryObject" />

返回值不正确:

<EntityType Name="DirectoryObject" OpenType="true">
        <Key>
          <PropertyRef Name="objectId" />
        </Key>
        <Property Name="objectType" Type="Edm.String" />
        <Property Name="objectId" Type="Edm.String" />
        <Property Name="deletionTimestamp" Type="Edm.DateTime" />
        <NavigationProperty Name="createdOnBehalfOf" Relationship="Microsoft.DirectoryServices.Microsoft_DirectoryServices_DirectoryObject_createdOnBehalfOf_Microsoft_DirectoryServices_DirectoryObject_createdOnBehalfOfPartner" ToRole="createdOnBehalfOf" FromRole="createdOnBehalfOfPartner" />

您可以在NavigationProperty的“FromRole”中看到差异。一个具有“CreatedOnBehalfPartner”,另一个具有相同NavigationProperty的“DirectoryObject”

有人知道这种奇怪的行为吗