I have a strange behavior. I configured on a modern team site a target audience on the navigation (left navigation). In my case I added a azure ad security group to a link in the navigation, which point to a document library.
When I load the team site start page the target audience work as expected and I see the link in the navigation to the document library.
When I click on the link, the document library is loading. After loading the library, the target audience is not working any more. The link is hidden.
Does anyone have the same experiance and is there any way to get target audience work correctly?