Hi @WaldemarL
Based on the error, you can't delete the custom extension until it is removed from the associated application. You may need to remove the association from the application first and then delete the extension.
The error message shows the application ID where the custom extension is currently associated. If the extension is linked to a deleted application, try restoring that application.
When did you delete the app registration? Deleted applications can typically be restored within 30 days. Once restored, remove the custom extension from the application, and then try deleting the Custom Authentication Extension.
For your reference: https://learn.microsoft.com/en-us/entra/identity-platform/howto-restore-app
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.