Apply PnP Template suddenly fails

We didn't change configuration. Keep getting either error AADSTS65001: The user or administrator has not consented to use the application... PnP Management Shell or "cannot get user name", depending on whether a Credentials or Admin Auth conenction.

Hello! Please grant the admin consent to the application by loading this link:{tenant-id}/adminconsent?client_id={client-id}
{tenant-id} - find it in the Azure admin centre.
{client-id} - take it from the error message.