microsoftgraph / microsoftgraph/msgraph-metadata

Add MS-APP-ACTS-AS to the CSDL metadata as a custom header

Open
#109 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Description

At the moment when working with powershell, we are explicitly declaring headers in the service schema. One ends up getting a service exception ("code":"Forbidden","message":"MS-APP-ACTS-AS header needs to be set for application context requests.") when using the powershell SDK for commands like Get-MgTeamScheduleSwapShiftChangeRequest.

Contributor guide

No contributing guide indexed for this repository

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 by tracing the service schema declarations used when generating the PowerShell SDK, focusing on the commands and error message named in the issue. Verify how a custom MS-APP-ACTS-AS header is represented in the CSDL metadata and confirm the generated command handles application-context requests without the reported Forbidden error.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.