msgraph-sdk-php
msgraph-sdk-php copied to clipboard
Microsoft Graph Library for PHP.
In https://github.com/microsoftgraph/msgraph-sdk-php/blob/b7bc52153b44d9c3db60d4b8805ece42c4e1268f/src/Http/GraphResponse.php#L54 the return type is documetned as "string". As it comes (more or less) directly from `Psr\Http\Message\ResponseInterface`, it should be documented as "int". (see https://github.com/php-fig/http-message/blob/master/src/ResponseInterface.php#L30)
I have tried creating a ReferenceAttachment and calling `message->setAttachments([$referenceAttachment])` but it is not working, no attachment on the received mail, is this supported by this library ? It seems like...
Upon creating a TransitiveMemberOfRequestBuilder and applying a TransitiveMemberOfRequestBuilderGetRequestConfiguration->queryParameters->select I can see the URL is changed to include the $select fields in odataNextLink. But when I actualy run the query with...
Following the [documentation](https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http#http-request), there are two ways suggested to acccess the content of a message via the Id: ``` 1) GET /users/{id | userPrincipalName}/messages/{id} 2) GET /users/{id | userPrincipalName}/mailFolders/{id}/messages/{id} ```...
When patching an e-mail message with a Read Receipt Request like this: ```php $request = $graph->createRequest('PATCH', '/me/message/' . $office365MessageId); $request->attachBody(['isRead' => true]); $request->execute(); ``` Outlook automatically sends the Read Receipt....
I have an SPA (SinlgePageApplication), which can get an ID and an access token via the msal library. These tokens are included in the header with every request to my...
Hi we are upgrading to v2 and I can't see how to use the $deltatoken and $skiptoken when making a request to `https://graph.microsoft.com/v1.0/me/calendarView/delta`. I'm trying to use `\Microsoft\Graph\Generated\Users\Item\CalendarView\Delta\DeltaRequestBuilderGetRequestConfiguration` but they...
Hy i try to upload files to my onedrive with php. It didn't work.... I get a token. But the upload client get "invalid garant"... my script (the fail is...
Hello, I am using the SDK version 2.4.0 and have encountered a strange behaviour/error. I am trying to upload a large file (~5MB) to a ToDo task. The initial POST...
If I have a folder and want to read the subfolders or messages from it, the output is always empty. But if I count the contents, I get an output:...