Forum Discussion

tfleury's avatar
tfleury
Copper Contributor
Nov 30, 2026

How to transfer AppBackend artifact ownership to a Service Principal

Hello

I am trying to automate Microsoft Fabric App deployments through Azure DevOps using a Service Principal.

An existing AppBackend artifact is owned by a user because the first deployment was performed manually. Deployment through the Service Principal now fails with:

403 Forbidden
Only AppBackend artifact owner can perform this operation.

Attempting to transfer/assign the identity through the Fabric REST API:

POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/identities/default/assign?beta=true

returns HTTP 400:

{

      "errorCode": "OperationNotSupportedForItem",

     "message": "Operation not supported for requested item",

     "isRetriable": false

}

Does this mean that AppBackend items do not currently support identity assignment through this API?

If so, is there another supported REST API for transferring ownership to a Service Principal ?

3 Replies

  • StefanBlom44's avatar
    StefanBlom44
    Brass Contributor

    Yes. The `OperationNotSupportedForItem` response indicates that the Assign Item Identity API does not currently support `AppBackend` artifacts.

     

    However, there is an important distinction:

     

    - Ownership transfer: Microsoft's Fabric documentation states that there is currently no general REST API for changing ownership to a Service Principal.

    - Identity assignment: The Assign Item Identity API supports only specific item types, currently including Lakehouse and Eventstream—not AppBackend.

     

    Is there an alternative?

     

    Unfortunately, there is currently no documented REST API to transfer an existing AppBackend's ownership to a Service Principal.

     

    The AppBackend Update API (`PATCH /v1/workspaces/{workspaceId}/appBackends/{appBackendId}`) supports Service Principal authentication, but that does not mean it supports changing ownership.

     

    Practical recommendation: Raise this with Microsoft Fabric support as a product limitation and request support for AppBackend ownership transfer through REST APIs.

     

    Documentation: Take ownership of Fabric items : https://learn.microsoft.com/en-us/fabric/fundamentals/item-ownership-take-over