I just deployed an application into an azure App Service. My project does has migrations to be applied. But I was not able to apply them by using azure app command line
You can set Azure connection string in appsettings.json instead of local one and execute the migration or dotnet ef database update
dotnet ef database update