mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 04:38:09 +00:00
App role assignment not respected when creating a new cli app registration (#1308)
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user