-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Bug]: Can't deploy CA policies with group exclusion #3614
Comments
Thank you for reporting a potential bug. If you would like to work on this bug, please comment:
Thank you for helping us maintain the project! |
Cant seem to replicate this - Are you using 's in group names? |
No, no quotes in the groups: Group in the Template library tenant: Group Template in CIPP: {
"Displayname": "😊AwesomeGroup",
"Description": "AwesomeGroup",
"groupType": "dynamic",
"MembershipRules": "(user.userPrincipalName -contains \\\"username\\\")",
"allowExternal": null,
"username": "AwesomeGroup",
"GUID": "xxxxxx"
} From the template in CIPP it looks like the "\" used to escape the quotes around the username is escaped with additional slashes. This means that after escaping all the characters in the string, there is still a slash remaining which causes the error. |
I was looking at ca templates because of your description, but its groups. Checking this out :) |
My bad. We ran into the issue because we had to deploy the groups to be able to deploy CA policies that contain the group. |
@TargetCrafter can you try to delete the group template and re-create it? We were unable to reproduce this. |
Required confirmations before submitting
Issue Description
I can't deploy CA policies via the deployment tool when the CA policy has a group. It looks like the quotes are not correctly escaped when doing this.
Note that this word without a problem via te standards.
Environment Type
Sponsored (paying) user
Front End Version
7.1.3
Back End Version
7.1.3
Relevant Logs / Stack Trace
The text was updated successfully, but these errors were encountered: