Skip to content

Commit 8a706d3

Browse files
authored
Check if we need to disable storage SAS in the deployment entry point (#4716)
1 parent c91199f commit 8a706d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/deploy/getOrCreateFunctionApp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export async function getOrCreateFunctionApp(context: IFuncDeployContext & Parti
3737
// if there was no node, then the user is creating a new function app
3838
if (!node) {
3939
context.activityTitle = localize('functionAppCreateActivityTitle', 'Create Function App "{0}"', nonNullProp(context, 'newSiteName'))
40+
context.disableSharedKeyAccess = context.useManagedIdentity && context.useFlexConsumptionPlan;
4041
await wizard.execute();
4142

4243
const resolved = context.dockerfilePath ? new ResolvedContainerizedFunctionAppResource(context as ISubscriptionContext, nonNullProp(context, 'site')) :

0 commit comments

Comments
 (0)