mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #1378] Dynamic Group template adds extra \'s #760
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#760
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RedRhombus001 on GitHub (Feb 13, 2023).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1378
Description
I have created a dynamic group template. This group existed in another tenant. To make the template I copied the data from what CIPP displayed when I looked at the group properties.
Example of the dynamic group properties that I copied.
(device.devicePhysicalIDs -any (_ -eq "[OrderID]:Autopilot-SelfDeploying")) -and ((device.devicePhysicalIDs -any (_ -contains "[ZTDId]")) -or (device.deviceOwnership -eq "Company"))
Example of the properties of the group template.
(device.devicePhysicalIDs -any (_ -eq \"[OrderID]:Autopilot-SelfDeploying\")) -and ((device.devicePhysicalIDs -any (_ -contains \"[ZTDId]\")) -or (device.deviceOwnership -eq \"Company\"))"
This then returns an error when deploying of: Failed to create group. Invalid characters found in the rule: \ \ \
If I then deploy the group it shows the correct dynamic group string without the extra \. But still returns an error.
If I change the dynamic group string (copy and paste) before pressing submit, it also returns the same error.
Environment data
@github-actions[bot] commented on GitHub (Feb 13, 2023):
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://kelvintegelaar.github.io/CIPP
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!".
@KelvinTegelaar commented on GitHub (Feb 15, 2023):
Fixed in dev