How to configure OnlineSubsystem LoginFlow

Still unable to get this working. The provided code gives the error: error C2039: ‘GetUtils’: is not a member of ‘Online’

I suspect that there is an issue with the includes or header files.

Is there any example code I can look at?

Please help. This is a blocker for me.