If this error occurs when configuring an Entra ID Connector for a tenant, it is most likely because the Secret ID has been input rather than the Value:

The Value is able to be read immediately after creation, after which it is hidden and would need to be created anew to copy. Make sure you enter the data in the Value field and not the Secret ID.