@@ -147,12 +147,10 @@ def __init__(
147147 create_registration : bool ,
148148 migrations : List [str ],
149149 export_appinsights : bool ,
150- multi_tenant_domain : str ,
151150 upgrade : bool ,
152151 subscription_id : Optional [str ],
153152 admins : List [UUID ],
154153 allowed_aad_tenants : List [UUID ],
155- cli_app_id : str ,
156154 auto_create_cli_app : bool ,
157155 host_dotnet_on_windows : bool ,
158156 enable_profiler : bool ,
@@ -169,7 +167,6 @@ def __init__(
169167 self .instance_specific = instance_specific
170168 self .third_party = third_party
171169 self .create_registration = create_registration
172- self .multi_tenant_domain = multi_tenant_domain
173170 self .custom_domain = custom_domain
174171 self .upgrade = upgrade
175172 self .results : Dict = {
@@ -183,16 +180,17 @@ def __init__(
183180
184181 self .arm_template = bicep_to_arm (bicep_template )
185182
186- self .cli_app_id = cli_app_id
187183 self .auto_create_cli_app = auto_create_cli_app
188184 self .host_dotnet_on_windows = host_dotnet_on_windows
189185 self .enable_profiler = enable_profiler
190186
191187 self .rules : List [NsgRule ] = []
192188
189+ self .cli_app_id = ""
190+ self .authority = ""
193191 self .tenant_id = ""
194192 self .tenant_domain = ""
195- self .authority = ""
193+ self .multi_tenant_domain = ""
196194
197195 self .cli_config : Dict [str , Union [str , UUID ]] = {
198196 "client_id" : "" ,
@@ -1268,12 +1266,6 @@ def main() -> None:
12681266 action = "store_true" ,
12691267 help = "enable appinsight log export" ,
12701268 )
1271- parser .add_argument (
1272- "--multi_tenant_domain" ,
1273- type = str ,
1274- default = "" ,
1275- help = "enable multi-tenant authentication with this tenant domain" ,
1276- )
12771269 parser .add_argument (
12781270 "--subscription_id" ,
12791271 type = str ,
@@ -1295,12 +1287,6 @@ def main() -> None:
12951287 nargs = "*" ,
12961288 help = "Set additional AAD tenants beyond the tenant the app is deployed in" ,
12971289 )
1298- parser .add_argument (
1299- "--cli_app_id" ,
1300- type = str ,
1301- default = "" ,
1302- help = "CLI App Registration to be used during deployment." ,
1303- )
13041290 parser .add_argument (
13051291 "--auto_create_cli_app" ,
13061292 action = "store_true" ,
@@ -1348,12 +1334,10 @@ def main() -> None:
13481334 create_registration = args .create_pool_registration ,
13491335 migrations = args .apply_migrations ,
13501336 export_appinsights = args .export_appinsights ,
1351- multi_tenant_domain = args .multi_tenant_domain ,
13521337 upgrade = args .upgrade ,
13531338 subscription_id = args .subscription_id ,
13541339 admins = args .set_admins ,
13551340 allowed_aad_tenants = args .allowed_aad_tenants or [],
1356- cli_app_id = args .cli_app_id ,
13571341 auto_create_cli_app = args .auto_create_cli_app ,
13581342 host_dotnet_on_windows = args .host_dotnet_on_windows ,
13591343 enable_profiler = args .enable_profiler ,
0 commit comments