Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ param location string
param mcpTodoServerAppExists bool
param mcpTodoClientAppExists bool

@description('Id of the user or app to assign application roles')
param principalId string

Comment on lines -15 to -17

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct @copilot . You need to remove the parameter only from the resources.bicep module. You need to keep this parameter from the main.bicep file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot you are missing these comments

@description('Whether to use the built-in login feature for the application or not')
param useLogin bool = true

Expand Down Expand Up @@ -48,7 +45,6 @@ module resources 'resources.bicep' = {
environmentName: environmentName
location: location
tags: tags
principalId: principalId
mcpTodoServerAppExists: mcpTodoServerAppExists
mcpTodoClientAppExists: mcpTodoClientAppExists
useLogin: useLogin
Expand Down
3 changes: 0 additions & 3 deletions infra/resources.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ param tags object = {}
param mcpTodoClientAppExists bool
param mcpTodoServerAppExists bool

@description('Id of the user or app to assign application roles')
param principalId string

@description('Whether to use the built-in login feature for the application or not')
param useLogin bool = true

Expand Down