diff --git a/src/deployment/registration.py b/src/deployment/registration.py index 9cc34ba05a..ddb0d33a81 100644 --- a/src/deployment/registration.py +++ b/src/deployment/registration.py @@ -231,8 +231,12 @@ def add_application_password(app_object_id: UUID) -> Tuple[str, str]: wait_duration = 10 while count < tries: count += 1 + if count > 1: + logging.info("retrying app password creation") try: - return add_application_password_impl(app_object_id) + password = add_application_password_impl(app_object_id) + logging.info("app password created") + return password except GraphQueryError as err: error = err # modeled after AZ-CLI's handling of missing application