Skip to main content

Notifications

Community site session details

Community site session details

Session Id : mK6MG19m4ST1wwit0OmDSI
Power Apps - Building Power Apps
Answered

Remove Spatial Services

Like (0) ShareShare
ReportReport
Posted on 9 May 2022 13:33:14 by 21

In my attempt to move fast and break things, I broke my app.  

 

As an experiment, I tried to add a Map control to one of my screens in a canvas app.  I was told by a dialog box that this was a premium feature, so I canceled and removed the control.  I guess I went too far into adding the control because a connector to "Spatial Services" was created in my app.  Now my app is designated as a "premium license" app. 

 

How can I remove the Spatial Services connector to remove the premium designation?

 

Thanks,

Mike

  • WeeMcCay Profile Picture
    11 on 05 Apr 2024 at 11:59:48
    Re: Remove Spatial Services

    YOU Retrotube, are amazing. Thank you!!!

  • MarTorres07 Profile Picture
    on 11 Mar 2024 at 20:30:55
    Re: Remove Spatial Services

    I'm having the same issue, i tried the method deleting from connection menu, but i don't see the spatial services connection in the list and i dont wanna touch the JSON format because i dont know exactly what i have to delete from there.

    Can someone explain better what to delete exacly in the JSON files? or if is it the other option why i dont see it on the connections list?

    thank you.

  • wewg24 Profile Picture
    3 on 16 Feb 2024 at 22:48:49
    Re: Remove Spatial Services

    This solution worked for me, not having any other environment assets utilizing the connector.  Saved me a lot of headache avoiding export/JSON editing.  Thank you @Retrotube !

  • Retrotube Profile Picture
    36 on 05 Dec 2023 at 11:21:58
    Re: Remove Spatial Services

    Just came across this issue. Rather than all the json editing, on your power apps home page, click 'connectors' on the left side and delete it from there. When you go to do so it shows a confirmation popup with the apps using it.

    Screenshot 2023-12-05 052132.png

  • GlenRosenblatt Profile Picture
    Microsoft Employee on 04 Jul 2023 at 00:07:07
    Re: Remove Spatial Services

    Similar here. I only had to modify a single file, the "CUSTOMIZATIONS.XML" in my solution package.

     

    Look for the <AppComponentDependencies> tag and strip the entry for Spatial Services. Triple check that your json is correct, and then re-zip your solution up and upload it back. You may need to advance the version on your patch or rollback your application's version but you should be able to overwrite the same application and retain the same app url. 

     

    This was a good lesson for not experimenting with things in the main application. Make a sandbox and play in it until you understand it. That said this is clearly a bug Microsoft needs to address at some point but overall it was a 15 minute repair job all told. 

     

    Thanks to everyone in this thread for the assistance!

  • DataVizGuy Profile Picture
    29 on 28 Apr 2023 at 20:54:08
    Re: Remove Spatial Services

    I swapped out the two original JSON files for the ones that I edited but still am getting this error...

  • RicardoLima_01 Profile Picture
    7 on 26 Apr 2023 at 22:28:37
    Re: Remove Spatial Services

    The two .json-Files that I`ve edited were named as manifest and other named as numerical code inside the MicrosoftPowerApps folder. I was receiving the same "Something went wrong. Please try again later." message when I was creating a new zip folder. Therefore, to avoid this error, you need to make sure you are including the edited files on the original zip folder that you downloaded. I hope that this can work for you!

  • DataVizGuy Profile Picture
    29 on 25 Apr 2023 at 17:44:29
    Re: Remove Spatial Services

    Can you guys clarify which JSON files you are editing? I found and removed references to "spatial" in Properties.json and DataSources.json... however even after validating the edited json format through Notepad++ I am still getting a "Something went wrong. Please try again later." error when trying to reupload the zip file through Power Apps.

  • RicardoLima_01 Profile Picture
    7 on 20 Apr 2023 at 17:05:33
    Re: Remove Spatial Services

    Hi all,
    For some that are not too familiar with Json format, I had the same issue and used Fabi3310 format with some additional steps and I'd like to tell you what I did.

     

    1. I exported my App.
    2. Exported another app that does not have spatial services (to use as reference)
    3. I opened the compressed file and looked up the two .json-Files (first one named manifest and other named as numerical code inside the MicrosoftPowerApps folder).
    4. I copied them out of the compressed file to open them with the atatus online.
    5. Under the manifest file I`ve kept the schema and resources information and removed all the other content. 
    6. Under the numerical code file I`ve removed the "connectionReferences" information and replaced by "connectionReferences": {}, 
    7. I saved and put the .JSON-File back into the compressed File I downloaded earlier (Do not try to compress a new zip folder that will not work).
    8. I uploaded the File and updated the existing App

    Here you go, no spatial services reference anymore. 

  • Fabi3310 Profile Picture
    11 on 05 Mar 2023 at 12:45:13
    Re: Remove Spatial Services

    Hey,
    I had the same issue and I am not an expert as well, so I'd like to tell you what I did.

     

    1. I exported my App.
    2. I opened the compressed file and looked up the two .json-Files.
    3. I copied them out of the compressed file to open them with the notepad++ Editor
    4. I installed the Plugin "JSON Viewer", to format the file the way I was able to at least guess everything
    5. I overread the whole code (not that long) and found some references to the Spatial Services
    6. I guessed the "whatever-reference-code" and copied it
    7. I used the search-function (Crtl + F) to find all of the references
    8. I deleted all the parts
    9. I saved and put the .JSON-File back into the compressed File I downloaded earlier
    10. I uploaded the File and updated the existing App

    Hope it helps you, it took me so long, hope you can fix it quicker.

    BTW, Microsoft: FIX THIS!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard