CAPsMAN - Single SSID with multiple VLANs

Hello Mikrotik Community,
I want to set up my Wi-Fi infrastructure so that I have only one SSID and assign clients to a VLAN based on the PSK.

Unifi can do this without any problems, but how do I implement it using CAPsMAN?
I have five CAP AC XL and two CAP AX, currently with five SSIDs.

Thanks for help!

BG
FiRE

So without your configuration I can tell you only basic info.

You need to create one PPSK group where you will add as many passphrases with their corresponding VLANs you need.

Then you create security profile where you specify only profile name, which wpa to use (wpa and wpa2 only) and multi-passphrase-group parameter.

Then you delete your ssids and create only one and in security you add newly created security profile.

In addition to @gigabyte091, hereby the documentation:
https://help.mikrotik.com/docs/spaces/ROS/pages/224559120/WiFi#WiFi-Securitymulti-passphraseproperties

Alternatively you can use access-list to set VLAN ID (depending on the MAC address).
This is not in line with your requirements, I prefer it as my family can share their PSK with everyone and I’m still in control of which client has what VLAN ID.
This topic might give you insights: http://forum.mikrotik.com/t/7-13-wifi-capsman-access-list-to-assign-vlans-and-ft-issue/172199/11