Error while creating app catalog – Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb

New App Catalog Error
New App Catalog Error

Hello friends,

Recently after creating a dev tenant, I proceeded to create tenant level app catalog site as I was setting up the SPFX environment. I selected ‘Create a new app catalog site’ and added needed details.

New App Catalog Creation
New App Catalog Creation
New App catalog creation details
New App catalog creation details

I got an error “Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb” when i tried to create a new catalog site.

New App Catalog Error
New App Catalog Error

After scratching head and after some googling, i found out that we need at least one site collection created other than the default site gets created with tenant. Then only new app catalog creation will work.

New Sample Site Creation
New Sample Site Creation

So, i have created a Test site and tried again to create new app catalog and voilà, it worked.

Looking like Microsoft should improve on error handling.

Sharing is caring.

Prasad Pathak

Senior Tech lead

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading