cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SrinathPegaCRM
Advocate I
Advocate I

Dataverse Unbound Action To Remove the Record Accesses for Custom Table

Hi Community,

 

I'm trying to create a flow to Revoke the Access/Make Read-only for the Custom Table record using the Dataverse Unbound Action with RevokeAcess function to the User or All users in the system (Including the owner of the record).

 

Please find the screenshot below of my flow.

SrinathPegaCRM_0-1638799047706.png

 

In my flow, Custom Table is Contacts it has relation with Order table 1:N relationship.

The movement order is submitted Order / Fulfillment of Order the associated contract (custom table record) should revoke the access to all users in the system ( Including record owner).

 

Please find the error message below.

 

Error Details:

An error occurred while validating input parameters: Microsoft.Crm.CrmHttpException: Resource not found for the segment 'spega_contract'.
at Microsoft.Crm.Extensibility.OData.CrmEdmEntityReference.CreateCrmEdmEntityReference(Uri link, IEdmModel edmModel, CrmODataExecutionContext context, EntitySetSegment& entitySetSegment)
at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitiveData(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)
at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitive(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)
at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)
at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)

 

 

Thanks in advance,

Srinath Pega

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User
Dual Super User

@SrinathPegaCRM 

Mira_Ghaly_0-1638865775969.png

Please pass the above values as 

/spga_contracts/Contract(value)

/systemusers/Owning User(value)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

1 REPLY 1
Mira_Ghaly
Dual Super User
Dual Super User

@SrinathPegaCRM 

Mira_Ghaly_0-1638865775969.png

Please pass the above values as 

/spga_contracts/Contract(value)

/systemusers/Owning User(value)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,195)