The Azure Event Grid currently has Message Queuing Telemetry Transport (MQTT) v3.1.1 support with the current following limitations:


The Cirrus Link MQTT Modules are Sparkplug v3.0.0 compliant and if using Primary Host will always include a Will Message with the retain flag set as part of the client connection. 

If Primary Host is required, they cannot be used with Azure Event Grid until retained messages are supported. 


Azure Event Grid has a max message limitation of 1Mb. Review our How can I reduce the message size published by MQTT Transmission if you run into this limitation.