Your sentence is not entirely correct, although I believe I understand your meaning. I would reword it to the following:
To obtain your access card, your photograph is required.
Please proceed to Room (insert the # here) to have your photo taken.
Hope this helps, Eden.
- For Teachers