web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

reinstall extension from SaaS environment

(0) ShareShare
ReportReport
Posted on by 450

So i have a project in my SaaS environment with is published but not installed. Now i am trying to publish to my tenant again but it keeps giving me an error that there is a primary key change in a table so i can't publish it. I checked the code that's already on the tenant and the PK is the same as what i am trying to publish. Now aside from that, I was wondering if this might be resolved by just removing the project fully from the tenant so that it is not even published anymore and next try to republish it.

Any help is welcome.

Thanks in advance.

EDIT:

So i tried what i asked but as i expected the tables where not removed so i'm still having an unsupported keychange.

SOLVED:

Turned out the only thing i had to do was use "ForceSync" I tried it before but accidentally put it on my OnPrem Version instead of the SaaS

I have the same question (0)
  • Suggested answer
    Olister Rumao Profile Picture
    4,009 on at

    Hi,

    This sort of issues generally occur when you have added a primary key to a table in extension and then modified the primary key and try to deploy this again.

    Mainly this was resolved because you have used ForceSync in Sandbox.

    But it could be a potential issue when you are trying to do the same thing in Production Environment because AFAIK the table structure is only allowed to be added and not deleted.

    Instead what you can do is mark the primary key and field as Obsolete and add the new field into keys.

    www.olisterr.tech/.../tip-working-with-changing-field.html

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans