Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the cmdlet beyond simple SELECT/INSERT/UPDATE/DELETE operations with Microsoft Dynamics 365.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Microsoft Dynamics 365, along with an indication of whether the procedure succeeded or failed.
CData Cmdlets PowerShell Module for Microsoft Dynamics 365 Stored Procedures
Name | Description |
CreateAssociation | Creates an association between two entities based on a navigation property. Set the IncludeNavigationProperties connection property to true in order to use this stored procedure. |
CreateSchema | Creates a schema file for the specified table or view. Note: This stored procedure only applies when Edition is set to either FinOpsOnline, FinOpsOnPremise or HumanResources. |
GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
GetOAuthAccessToken | Gets the auth token used to authenticate to the service. |
GetOAuthAuthorizationUrl | Gets an authorization URL from the data source. The authorization URL can be used to generate a verifier required to obtain the OAuth token. |
ListAssociations | Lists associations for a given table and navigation property. Set the IncludeNavigationProperties connection property to true in order to use this stored procedure. |
ListNavigationProperties | Lists navigation properties for a given table and the tables they are associated with. Navigation properties are used by the Association stored procedures. Set the IncludeNavigationProperties connection property to true in order to use this stored procedure. |
RefreshOAuthAccessToken | Obtains an updated OAuthAccessToken if passed a token to refresh. |
RemoveAssociation | Removes an association between two entities based on a navigation property. Set the IncludeNavigationProperties connection property to true in order to use this stored procedure. |