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

Error: RAWJson is missing when editing Intune template name and description #3476

Closed
mruiterHU opened this issue Jan 27, 2025 · 3 comments
Closed
Labels
bug Something isn't working unconfirmed-by-user

Comments

@mruiterHU
Copy link

Description

Thanks for implementing my feature request faster than lightning: #3453 (comment)

Maybe I'm a bit early, and you guys are still working on it. But when I try to edit the template name and description, I get the error shown below. Someone else in the Discord tested it for me and got the same result.

It seems like the API isn’t retrieving the content of the policy, somewhere around line 22-27 in Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecEditTemplate.ps1?

Logbook Error:
Failed to edit template: Cannot bind argument to parameter 'RawJSON' because it is null.

Steps to reproduce:

  1. Go to Intune > Device Management > Policy Templates
  2. Actions > Edit Template Name and Description
  3. Enter a name and description, click confirm
  4. This is when the RawJSON error appears

Image

Environment data

Sponsored instance

Front-end: 7.1.1
Backend: 7.1.0

Tenant Cache Clear: false
Token Cache Clear: false
@mruiterHU mruiterHU added bug Something isn't working unconfirmed-by-user labels Jan 27, 2025
Copy link

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

@mruiterHU
Copy link
Author

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.

@KelvinTegelaar
Copy link
Owner

Fixed in dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed-by-user
Projects
None yet
Development

No branches or pull requests

2 participants