Philip Gichuhi
Philip Gichuhi
Hi @delenikov @ccea-dev-team We've made a couple of fixes to the backing store over the last few months and I've been able to confirm that this scenario should now work...
@wyrdthud this was resolved a couple of months ago. Sorry for the delayed update. Feel free to upgrade to the latest version of the SDK and please re-open in case...
Workflow to auto-update SDK reference docs using PHPDocumentor also relied on creating PRs -https://github.com/microsoftgraph/msgraph-sdk-php/actions/runs/4425992424/jobs/7761731540
@EmilySamantha80 thanks for your feedback on our Release Candidate. Please keep it coming. For now, you can get the error returned by the API using `$ex->getError()` which will expose the...
Thank you for this feedback @Teejer. For a temporary workaround, you can use the `withUrl` method and pass the full request URL: ```php $graphServiceClient->auditLogs()->signIns()->withUrl( "https://graph.microsoft.com/v1.0/auditLogs/signIns?filter=userPrincipalName%20eq%20%27user%40place.com%27&$top=5" )->get(); ```
Thanks for reporting this @cslater77. Microsoft Graph version `2.x` initialises a `GraphServiceClient` that is imported under this namespace ```php use Microsoft\Graph\GraphServiceClient; ``` `Microsoft\Graph\Graph` exists in the `1.x` versions of this...
@thorby68 just for clarification, does your application require a signed-in user who's log-in session you are trying to persist? Or are you using [application permissions?](https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http)
In that case you don't need to manage access tokens yourself. you can initialize a `GraphServiceClient` as shown [here](https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=PHP#using-a-client-secret-3) and make calls to the Graph. The SDK will fetch access...
> > In that case you don't need to manage access tokens yourself. you can initialize a `GraphServiceClient` as shown [here](https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=PHP#using-a-client-secret-3) and make calls to the Graph. > > The...
@thorby68 to use the `/me` endpoints, you need a signed-in user. Since your application doesn't need a signed in user, you can replace `/me` with `/user/{user-id}` where userId can be...