Skip to content

[Bug] Shared Common Dataservice #347

@rfarris2000

Description

@rfarris2000

Describe the bug

I have been unable to get shared_commondataserviceforapps connector to work properly for the ListRecords command.

Other method calls like GetOrganizations return data.

I have a valid fetch xml query but I get the following message:

"Invalid organization URL 'null' provided"

Steps to Reproduce

  1. CLI: npx power-apps add-data-source -a shared_commondataserviceforapps -u https://<evnurl?.crm.dynamics.com
  2. Add the following code:
    const fetchXml = <fetch> <entity name="systemuser"> <attribute name="systemuserid" /> <attribute name="fullname" /> <attribute name="internalemailaddress" /> <attribute name="jobtitle" /> <attribute name="parentsystemuserid" /> <filter type="and"> <condition attribute="internalemailaddress" operator="dq" value="user@domain.com" /> <condition attribute="isdisabled" operator="eq" value="0" /> </filter> <order attribute="fullname" /> </entity> </fetch>.trim();
    var g = MicrosoftDataverseService.ListRecords("systemusers", undefined, undefined, undefined,
    undefined, undefined, undefined, undefined, fetchXml, undefined, undefined).then((response) => {
    console.log("FetchXML Response:", response)});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions