microsoftgraph / microsoftgraph/msgraph-beta-sdk-go

AuditLogQueries Unknown AuditLogRecordType

Open
#410 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked bug dependency:metadata service issue type:bug
Dominant language
Go
Stars
26
Forks
12
Avg merge
22h 9m
Merged PRs (30d)
1

Description

Hi @baywet,

Sorry to report again, but having another similar metadata issue to https://github.com/microsoftgraph/msgraph-beta-sdk-go/issues/391 and https://github.com/microsoftgraph/msgraph-sdk-go/issues/617 where I'm getting the following error when retrieving audit log query records from the new beta endpoint https://learn.microsoft.com/en-us/graph/api/security-auditlogquery-list-records?view=graph-rest-beta&tabs=http .

Unknown AuditLogRecordType value: CopilotInteraction

Occurs when the following value appears in the auditLogRecordType field for an audit log query record returned by the API:

...
"auditLogRecordType":"CopilotInteraction"
...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the beta audit log query records endpoint and inspect how the SDK handles the auditLogRecordType field. Compare this report with issues 391 and 617, then trace the generated type or enum that rejects CopilotInteraction. Done means records containing that value can be retrieved without the unknown-value error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.