diff --git a/src/deployment/registration.py b/src/deployment/registration.py index b6edc06e2..dad342ff8 100644 --- a/src/deployment/registration.py +++ b/src/deployment/registration.py @@ -423,7 +423,7 @@ def authorize_application( except GraphQueryError as e: m = re.search( "Property PreAuthorizedApplication references " - "applications (.*) that cannot be found.", + "applications (.*?) that cannot be found.", e.message, ) if m: