microsoft / microsoft/Analysis-Services

Overwrite option for Import-FabricItem

Open
#294 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
732
Forks
433
PR merge metrics
No merged PRs in 30d

Description

When attempting to use the sample code to import a pbip semantic model into a workspace, I get an error of
Item 'DATA_MODEL_NAME' of type 'SemanticModel' already exists.

If there was an option to overwrite , it would allow us to publish a semantic model without having to write code to remove the existing item & then import it .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sample code that calls Import-FabricItem for a PBIP semantic model and inspect how an existing SemanticModel is handled. Define the overwrite behavior for an existing workspace item, then verify that the import path supports publishing without a separate removal step.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.