In the majority of cases, only the “lead member” of the group will need to provide his or her photo ID. Although, if each member of the party requires a separate ticket, it’s possible each one will need to provide an ID.
For security purposes, the photo ID you provide needs to match the name used to book the tour/activity. Thus, for the peace of mind, make sure the booking name matches with the name on your ID!