I'm adding a Blueprint Animation at runtime using Set Animation Instance Class but then Get Animation Instance returns null. What to do?

I want to add an Animation Blueprint to a Skeletal Mesh and it appears I can do this by using Set Animation Instance Class. It works, the skeletal mesh is animated.

But then I want to access this animation instance. Get “Animation Instance” returns null.

How this works how can I access the Animation Instance?