I set badge criteria as completing a competency ( attached to course).
I attached activity completion to Competencies by setting Competencies for Quiz activity and set settings as Complete Competency upon completion of activity.
For Quiz I set Completion Criteria as user required Passing Grade. With unlimited attempts.
But users who have completed are not awarded the badge.
May I know what's going wrong.