It seems to no longer work like described . Now you need to do l_clob := apex_web_service.make_rest_request( p_url => 'graph.microsoft.com/v1.0/me/memberOf', p_http_method => 'GET' );
and get the groups from l_clob . Remember to add Additional User Attributes : memberOf otherwise there will be Token errors