Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Javi09
New Member

I am trying to use powerbi rest API to deploy pipielines. I get error

Please do help on this topic, as its an urgent requirement. Thanks

 

The error is get is 

ALM_InvalidRequest_ActionNotAllowed_CreateArtifact
{
  "error": {
    "code": "Alm_InvalidRequest_ArtifactsValidationFailure",
    "pbi.error": {
      "code": "Alm_InvalidRequest_ArtifactsValidationFailure",
      "details": [
        {
          "code": "ALM_InvalidRequest_ActionNotAllowed_CreateArtifact",
          "detail": {
            "type": 1,
            "value": "{\"artifactTypeName\":\"Datasets\",\"artifactId\":\"c445de8b-f5bd-4b7a-aa52-75370f5d8fc1\"}"
          }
        },
        {
          "code": "ALM_InvalidRequest_ActionNotAllowed_CreateArtifact",
          "detail": {
            "type": 1,
            "value": "{\"artifactTypeName\":\"Reports\",\"artifactId\":\"928c91f4-ec40-42fa-868a-1496be8f799c\"}"
          }
        }
      ],
      "exceptionCulprit": 1
    }
  }
}

 

2 REPLIES 2
CasadoA
New Member

Hi @Anonymous,

I'm getting the same error trying the Selective Deploy endpoint in the msdn page: Pipelines - Selective Deploy - REST API (Power BI Power BI REST APIs) | Microsoft Learn

The URI I'm using: https://api.powerbi.com/v1.0/myorg/pipelines/c94fab9f-44f2-4f91-b728-b8a0fd0b3255/deploy

And this is the body I sent: 

 

 

{
	"sourceStageOrder": "0",
	"datasets": [
		{
			"sourceId": "6236b004-e970-490a-95cd-dbdc1a7e8e67"
		}
	]
}

 

 

 

 

And the response is the following:

{
  "error": {
    "code": "Alm_InvalidRequest_ArtifactsValidationFailure",
    "pbi.error": {
      "code": "Alm_InvalidRequest_ArtifactsValidationFailure",
      "details": [
        {
          "code": "ALM_InvalidRequest_ActionNotAllowed_CreateArtifact",
          "detail": {
            "type": 1,
            "value": "{\"artifactTypeName\":\"Datasets\",\"artifactId\":\"6236b004-e970-490a-95cd-dbdc1a7e8e67\"}"
          }
        }
      ],
      "exceptionCulprit": 1
    }
  }
}

 

Thanks in advance.

Anonymous
Not applicable

Hi @Javi09 ,

Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.