Accessing API with Oauth2 using M language in Power BI -

CODE