Sunday, October 23, 2022

Resolve error - The Azure Synapse resource provider (Microsoft.Synapse) needs to be registered with the selected subscription

Following are the steps to enable Synapse resource provider

1. Navigate to your subscription

2. Navigate to Resource Providers

3. Search for Synapse and click on Register

That's all you have to do. This works for other service registrations as well

Tuesday, October 18, 2022

Package appsetings for Azure Function App using Visual Studio

In this short article I'll show how to embed appsettings for remote Azure Function app

You can have various application settings in your local.settings.json file

So how can you ensure these settings are available in your remote Function App as well (may be with different values)

Click on publish

In your publish profile, provide necessary credentials and desired Function App. Then go to the Hosting section.

Click on Manage Azure App Service Settings

You can specify remote app settings there

That's all you need to do. Remote settings will be available in Azure Function App