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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Amy007
Frequent Visitor

Repoint dataset connection to Cloudconnection after updating datasource -to avoid update credential

So what I have done is as follows - 

a. Used UpdateDatasources to update my Db server name and Db database name. I am good till here.

b. To make the above change, I am using service principal which makes me take over the dataset to update the datasource.

c. Due to takeover of dataset , I loose the credentials and it maps to PersonalCatalog. So i cannot refresh without manually updating the connection/credentials.

d. Now, I have a new ShareableCloud connection that i want to map to this dataset. How do I update this ? It uses OAuth authorization.

 

Please Note - I am not using Gateway , nor are these paginated reports. These are PBI desktop pbix reports.

I am looking to get this automated. Any hints/tips will help. 

Thank you in advance.

4 REPLIES 4
Amy007
Frequent Visitor

Update 2- 
Rebinding of reports or cloning reports is an option. But just wondering how many new semantic models /connections i will need to make. 
Can the Service principal with all admin privileges not be able to update the datasource of a dataset without doing a Takeover, that should solve my issues.

If anyone has any ideas, please help.

Can the Service principal with all admin privileges not be able to update the datasource of a dataset without doing a Takeover

 

I would think that this would be a giant security risk. You can still ask for it. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

Thank you for the perspective , anything which is a huge security risk will be rejected as an idea.

I just wanted to validate , it is not possible through any hacks or tricks 🙂

 

Amy007
Frequent Visitor

Another update - I also tried updating Connections from Fabric. It lets me update credentials .

Connections - Update Connection - REST API (Core) | Microsoft Learn
But how do I map this new Connection to the dataset since it points to PersonalCloud and I dont want to do it manually. I can see it in the drop down of the Connections/Gateway. I hope I am explaining it clearly.
Very new to API , so any help is great. Thanks again 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors