I am currently busy creating a .NET 6.0
application that uses the MS Graph Beta API to collect a bunch of active TI's from the Security.TiIndicators
endpoint. However something seems to be wrong.
In the documentation it is stated to use the following code:
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var tiIndicators = await graphClient.Security.TiIndicators
.Request()
.GetAsync();
However, when I try to implement this I get the following error:
'TiIndicatorsRequestBuilder' does not contain a definition for 'Request' and no accessible extension method 'Request' accepting a first argument of type 'TiIndicatorsRequestBuilder' could be found (are you missing a using directive or an assembly reference?)
I have the following MS Graph packages installed:
- Microsoft.Graph.Auth | 1.0.0-preview.7
- Microsoft.Graph.Beta | 5.13.0-preview
- Microsoft.Graph.Core | 3.0.0-preview.16
PS. I have more packages but they are not related to MS Graph.