Hi @Charles Matvchuk ,
Thanks for reaching out.
As per the error either the subscription is lapsed, or administrator disabled the application.
If your Subscription within the tenant is still active, then an admin must have disabled the application. If you have an admin account, you can re-enable it through the Azure Portal.
To resolve this error:
Navigate to Enterprise Application in Azure Active directory and remove all the filters.
Search the application based on application id or from all applications.
Select properties and enable the application using toggle "Enabled for users to sign-in?" to Yes
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.