Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate case-insensitive PowerShell hashtable for request bodies #1460

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Mar 28, 2023

Overview

This PR fixes #1459 by ensuring we maintain the casing used in the HTTP request examples for request bodies when generating PowerShell snippets. This is needed due to microsoftgraph/msgraph-sdk-powershell#1418 (comment).

Some Intune APIs such as https://learn.microsoft.com/en-us/graph/api/entitlementmanagement-post-accesspackageassignmentrequests?view=graph-rest-beta&tabs=powershell#example-2-user-requests-a-package-and-answers-questions-for-approval are case-sensitive.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@peombwa peombwa enabled auto-merge (squash) April 3, 2023 17:46
Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New-EntitlementManagementAccessPackageAssignmentRequest error "The model is invalid"
2 participants