App role assignment not respected when creating a new cli app registration
@@ -272,9 +272,7 @@ def create_application_registration(
continue
authorize_application(UUID(registered_app.app_id), UUID(app.app_id))
- assign_app_role(
- onefuzz_instance_name, name, subscription_id, OnefuzzAppRole.ManagedNode
- )
+ assign_app_role(onefuzz_instance_name, name, subscription_id, approle)
return registered_app
