The tagging and untagged settings on the switch and AP need to match. If the PVID is 1 and the tagged VLAN is 50 on the switch, then the AP needs to be untagged for VLAN 1 and tagged for VLAN 50.
I have a Dell Powerconnect 2824 with a Pfsense router connected to it. Newbie to Vlans. I'm trying to create a vlan so that I can put my IOt devices on the VLAN separate from the rest of my network. I have been trying to get just 1 extra computer on the Vlan 50 that I made and I can't seem to make that happen. I have Pfsense setup with the Vlan lan tag 50 and a subnet of 192.168.50.0 mask 255.255.255.0. I have been reading countless posts on here and Netgate to get this setup right but count seem to figure it out. To test I have a computer on port 2 of the switch set to PVID 50 of the Vlan I made. My Pfsense router is on port 23 so I have that port tagged. The rest of the ports are still in the default vlan 1. I don't get a IP address on the test computer, just a 169 IP address which I think it means it is not working.  End goal is to use my new unifi AP that tags traffic to put all the IOT traffic on a separate vlan along with home assistant rasberry PI on that same Vlan that controls many of the IOT.
Powerconnect 2824 VLAN Setup with Pfsense router