php-connect-rest-sample icon indicating copy to clipboard operation
php-connect-rest-sample copied to clipboard

[ARCHIVED] Use Microsoft Graph to access a user’s Microsoft account data from within a php web application. This sample gets OAuth tokens from the Azure AD v2.0 endpoint and uses REST calls directly t...

Results php-connect-rest-sample issues
Sort by recently updated
recently updated
newest added

when use the same format of the onedrive api of download a file in pdf format with ?format=pdf at the end of a download file request, doesnt create a pdf...

Hello, From what i understand, this code is just connects and checks the token and extract connected user's information to session. What if a connected user is revisits this page,...

@jamescro Hi! I'm trying to create User with POST request to the MS Graph. And the response is always: ` { "error": { "code": "UnknownError", "message": "{\"Status\":500,\"Message\":\"All the offeractions povided...

after passing on my credentials and signing in ,i'm getting error in outh.php Notice: Use of undefined constant clientId - assumed 'clientId' in C:\xampp\htdocs\project\microsoft\phpconnect\php-connect-rest-sample\app\oauth.php on line 34 Notice: Use of...

Running this example on php 7.0.8, instead of getting the microsoft login page, you get: Warning: Cannot modify header information - headers already sent by (output started at /home/vagrant/phpgraphazuremaster/app/oauth.php:34) in...

enhancement

Hi there, I'm looking to use the Graph API with PHP, however I'm running into a few errors. When I first set up my account and run the oauth loop,...

Hi there! Thanks for providing this PHP sample, it's really helpful. I have debugged the `oauth.php` and realised that the refresh-token is not included within the $accessToken object. How can...

Configure and run the app ``` Using your favorite IDE, open Constants.php in the app folder. ``` There is no constants.php in the app folder......

Is Microsoft plannng to convert this to a maintained library (like [azure-activedirectory-library-for-python](https://github.com/AzureAD/azure-activedirectory-library-for-python) or [Android SDK](https://github.com/microsoftgraph/msgraph-sdk-android)), or is it up to PHP developers to create their own libraries to access Microsoft's...