Make error regex non gready
@@ -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:
