d365-package-upload-api

Automate Dynamics 365 data package uploads and imports via the DMF REST API.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/mattiasnilssonfellowmind/D365-Configuration-ScottGaines --skill d365-package-upload-api-mattiasnilssonfellowmind
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: d365-package-upload-api
Source: https://github.com/mattiasnilssonfellowmind/D365-Configuration-ScottGaines/tree/main/.github/Skills/Package-Deployment
Command: npx skills add https://github.com/mattiasnilssonfellowmind/D365-Configuration-ScottGaines --skill d365-package-upload-api-mattiasnilssonfellowmind

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill documents the DMF Package REST API workflow for uploading and importing data packages into Dynamics 365 Finance & Supply Chain, including authentication, blob upload, and import orchestration. It is a retired reference intended for historical insight and operator guidance.

Core Features & Use Cases

  • End-to-end DMF workflow: authenticate, obtain blob URL, upload package, trigger import, monitor status, and fetch errors.
  • Prerequisites and setup guidance for Azure AD, data projects, and data packages, enabling reproducible data imports.
  • Operational context for manual execution outside agent automation and use within governance or audit scenarios.

Quick Start

Run the ready-to-use Upload-D365DataPackage.ps1 script in the project folder to perform the end-to-end DMF package upload and import workflow.

Frequently Asked Questions about d365-package-upload-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Dynamics 365 data package uploads using the DMF REST API?

Automating Dynamics 365 data package uploads via the DMF REST API requires orchestrating OAuth authentication, retrieving an Azure blob storage URL, uploading the package, triggering the import, and polling execution status.

What are the prerequisites for importing data packages into Dynamics 365 Finance & Supply Chain?

Data package imports into Dynamics 365 Finance & Supply Chain require setting up Azure AD authentication, configuring data projects, and preparing data packages before executing the REST API workflow.

How does the DMF package upload workflow handle Azure blob storage and OAuth authentication?

The DMF package upload workflow uses OAuth authentication to authorize the REST API, then retrieves a dedicated Azure blob storage write URL to securely upload the data package before triggering the import.

Can I use the DMF package API for automated data migration in a CI/CD pipeline?

The DMF package API supports automated data migrations and CI/CD pipelines by providing end-to-end orchestration for uploading packages, triggering imports, monitoring execution status, and retrieving errors.

Why am I getting errors when triggering a Dynamics 365 data package import via the REST API?

Errors during Dynamics 365 data package imports via the REST API can be retrieved by polling the execution status, which provides feedback on import failures and missing prerequisites like Azure AD or data project setup.

Is there a ready-to-use script for uploading data packages to Dynamics 365?

The Upload-D365DataPackage.ps1 script provides a ready-to-use implementation for performing the end-to-end DMF package upload and import workflow into Dynamics 365 Finance & Supply Chain.