Unable to add Notification rule to already existing user group in NG as its failing with invalid identifier

Suppose you want to update already existing User group by making some change or let say want to add new notification rule(for email/slack etc) and once you edit and try to save the rule its not allowing and throwing below error:

So as per design Harness Identifier has below restriction while naming Entity identifier reference | Harness Developer Hub

So earlier if a user group was pnroviosned via scim it might have created a group identifier with -(which is not allowed now) and this was corner case and fixed earlier so if any user group which was provisioned via scim before OCT 2022 can result into this if there is - in name.

Resolution: Need to de-provision the group from Harness and again provision the same group so that it will create new identifier and take care of - automatically