Hey @Hector ,
In Azure AD, you can create service principals with same name but different application Ids.
So please search in AAD, by that name and confirm whether there are 2 Apps with the same name.
You would have to delete one of the App and recreate it with new name.
In case if you cannot delete the sp , create a cloud group in AAD and add the needed sp in that dl and create user of that DL in database.