skip to Main Content

Retrieve access token of an api call in Flutter

I have this below code which prints the access_token along with some other data when I print reponse.body. Printing reponse.headers["access_token] returns null and also printing response.body["access_token"] says The argument type 'String' can't be assigned to the parameter type 'int'.dart. How…

VIEW QUESTION

Use $filter query parameter on /groups/{id}/members with Graph API for Azure B2C Tenant

Performing the following HTTP request to the Microsoft Graph API: GET https://graph.microsoft.com/v1.0/groups/{id}/members?$count=true&$filter=startswith(displayName, 'a') ConsistencyLevel: eventual Results in the following response when querying users for an Azure B2C tenant: { "error": { "code":"Request_UnsupportedQuery", "message":"The specified filter to the reference property query…

VIEW QUESTION

microsoft graph:You cannot perform the requested operation, required scopes are missing in the token – PHP

I am calling one Microsoft graph API from my PHP application, API is https://graph.microsoft.com/beta/policies/identitySecurityDefaultsEnforcementPolicy my code is like below $graph = new Graph(); $graph->setAccessToken(session('my_token')); try{ $response = $graph->createRequest("GET", "/policies/identitySecurityDefaultsEnforcementPolicy")->execute(); } catch(Exception $e){ dd($e); } $arr = $response->getBody(); dd($arr); but it…

VIEW QUESTION
Back To Top
Search