Dataverse icon

Dataverse

Interact with Dataverse (Power Platform)

Record → Share Access Add

AI-generated

Summary

Grants selected access rights to a Dataverse record for a specified user or team. Identify the table and record, choose the principal, and select the rights to grant.

Inputs

  • Table (required) — Select a table from the list or enter its lowercase logical name or ID.
  • Record ID Type (required) — Choose the record’s primary key GUID or identify it with alternate key-value pairs.
  • Record ID (required) — The record GUID, shown when using the primary key.
  • Alternate Keys (required) — One or more alternate key field names or IDs and their values, shown when using alternate keys. Lookup key values can be a related record GUID or a JSON object of alternate key fields and values.
  • Principal Type (required) — Choose whether to share with a user or a team.
  • User Principal Name or ID (required) — The user's email address, UPN, or GUID; shown for a user principal.
  • Team Name or ID (required) — The team's name or GUID; shown for a team principal.
  • Access Rights (required) — Select the rights to grant: Append, Append To, Assign, Delete, Read, or Share. The declared default includes ReadAccess and WriteAccess, though Write is not among the listed choices.
  • Options — Optional custom authentication settings: enable custom auth and provide an environment URL and access token instead of OAuth2 credentials.

Output shape

A single record result or success response.

The provided source pack shows the shareRecord function signature but not its implementation, so the exact response shape and whether it returns the shared record or a status are not established.

Links

Discussion