Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When last I checked CiviGroup Roles Sync did not work with Smart Groups. Has this changed with later versions (I'm on 5.17).
There were some workarounds discussed back in 2017.
It works just fine for us. We are on Civi 5.8 and Drupal 7.x.
Required, but never shown