I have an Office 365 security group (without email), and i want to add it to an Item permission, where the built-in action "Grant access to item or folder" will not work, as it only accept email addresses inside the Recipients list.
so i need to send an http request to SharePoint, as follow:-

but for that i will need to know the PrincipleID of the group, the PrincipleId is the group id inside SharePoint site and not the group id inside office 365 ,, is there way to get this Principle id? i can get it from the UI, as follow (which is 14):-

Thanks