Good day SAGA
The TTL-based group membership feature isn’t “on” by default, even if your forest/domain functional level is 2016. You need to explicitly enable the Privileged Access Management (PAM) optional feature using:
Enable-ADOptionalFeature -Identity "Privileged Access Management Feature" -Scope ForestOrConfigurationSet -Target <YourForestName>
Once enabled, you’ll be able to use the -MemberTimeToLive parameter with Add-ADGroupMember. Without that, the command will throw the “parameter is incorrect” error you saw.
About the irreversible part: enabling this optional feature does extend the schema, and you can’t roll it back. That said, it’s a supported Microsoft feature, and it doesn’t break existing functionality. It simply adds the ability to assign temporary group memberships with TTL. The main consideration is making sure your forest is healthy and replication is solid before you flip the switch.
So yes, you do need to enable it, and while it’s irreversible, it’s safe , it won’t disrupt your current infra. It just unlocks the JIT capability you’re after.
If everything is okay, don't forget to share your experience with the issue by "Accept answer". If you need more information, feel free to leave a message. We are happy to help!