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
- CLI: npx power-apps add-data-source -a shared_commondataserviceforapps -u https://<evnurl?.crm.dynamics.com
- 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)});
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
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)});