[GH-ISSUE #2691] [Feature Request]: Allow use of variables in policy templates #1344

Closed
opened 2026-03-02 13:43:27 +03:00 by kerem · 3 comments
Owner

Originally created by @neighborhoodit on GitHub (Jul 17, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2691

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

We used to use MSPMagic before they went under in January of this year. One very helpful feature they had was the ability to use variables in the various policy templates. There was a mix of variables available, both auto-created from the client tenants (e.g. tenantID) and manually created by us (e.g. Duo tenant ID for use in CA policies, or Sharepoint library IDs to auto-sync). This allowed for editing the template's JSON to insert the variables which would then lookup those values upon deployment (and re-deployment at nightly intervals).

This allowed us to rapidly deploy new templates and update them all across our clients without having to enter the tenant's Azure portal and manipulate them by hand.

PowerShell commands you would normally use to achieve above request

No response

Originally created by @neighborhoodit on GitHub (Jul 17, 2024). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2691 ### Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole. We used to use MSPMagic before they went under in January of this year. One very helpful feature they had was the ability to use variables in the various policy templates. There was a mix of variables available, both auto-created from the client tenants (e.g. tenantID) and manually created by us (e.g. Duo tenant ID for use in CA policies, or Sharepoint library IDs to auto-sync). This allowed for editing the template's JSON to insert the variables which would then lookup those values upon deployment (and re-deployment at nightly intervals). This allowed us to rapidly deploy new templates and update them all across our clients without having to enter the tenant's Azure portal and manipulate them by hand. ### PowerShell commands you would normally use to achieve above request _No response_
kerem 2026-03-02 13:43:27 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Jul 17, 2024):

Only sponsors can create Frs

<!-- gh-comment-id:2232637562 --> @KelvinTegelaar commented on GitHub (Jul 17, 2024): Only sponsors can create Frs
Author
Owner

@neighborhoodit commented on GitHub (Jul 17, 2024):

We are sponsors, you host our CIPP instance too. Main GitHub account is @.***

Josh Downing
Owner & Chief Consultant, NeighborhoodIT LLC

Schedule a Meetinghttps://neighborhoodit.timezest.com/josh-downing

Main Office: (303) 223-4134

Direct: (720) 853-3664

Cell: (303) 408-6028
@.@.>
https://neighborhoodit.orghttps://neighborhoodit.org/

[signatureImage]


From: KelvinTegelaar @.>
Sent: Wednesday, July 17, 2024 1:39:01 AM
To: KelvinTegelaar/CIPP @.
>
Cc: Josh Downing @.>; Author @.>
Subject: Re: [KelvinTegelaar/CIPP] [Feature Request]: Allow use of variables in policy templates (Issue #2691)

You don't often get email from @.*** Learn why this is importanthttps://url.avanan.click/v2/___https://aka.ms/LearnAboutSenderIdentification___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OjMzYjE6YzI0YTIyMmU2ZGY0M2M2ODFjMDI5MjM2MTBjNTQzZjJlMDU0ZGI1MWI4NmQ2NjdkM2VkYTYzN2IzNDEzZTlmYTpoOlQ6Tg

Only sponsors can create Frs


Reply to this email directly, view it on GitHubhttps://url.avanan.click/v2/___https://github.com/KelvinTegelaar/CIPP/issues/2691%23issuecomment-2232637562___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OmY3NDc6ZjhmNjAyYzlhZjQ0MmU3N2FkYjZkZjhkMDM4ZjVlNjNkOGU1MzgyNTI0Njg4MmE4OGVmZGU1ZmY0M2Q3MzNiYjpoOlQ6Tg, or unsubscribehttps://url.avanan.click/v2/___https://github.com/notifications/unsubscribe-auth/AB42JJG2PNG4LW6SGWWDDJDZMYNRLAVCNFSM6AAAAABK7RV5YSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGYZTONJWGI___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OmM0OTE6ZDhlNmI0NzQxMTMyOTZhOWRiNjhmYmU3MTkyMDg1YmI5MTA5MDI0N2VlOTE0ZTEyNTVhNzc0MGJlYTUyZmIzNjpoOlQ6Tg.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:2233357055 --> @neighborhoodit commented on GitHub (Jul 17, 2024): We are sponsors, you host our CIPP instance too. Main GitHub account is ***@***.*** Josh Downing Owner & Chief Consultant, NeighborhoodIT LLC Schedule a Meeting<https://neighborhoodit.timezest.com/josh-downing> Main Office: (303) 223-4134 Direct: (720) 853-3664 Cell: (303) 408-6028 ***@***.******@***.***> https://neighborhoodit.org<https://neighborhoodit.org/> [signatureImage] ________________________________ From: KelvinTegelaar ***@***.***> Sent: Wednesday, July 17, 2024 1:39:01 AM To: KelvinTegelaar/CIPP ***@***.***> Cc: Josh Downing ***@***.***>; Author ***@***.***> Subject: Re: [KelvinTegelaar/CIPP] [Feature Request]: Allow use of variables in policy templates (Issue #2691) You don't often get email from ***@***.*** Learn why this is important<https://url.avanan.click/v2/___https://aka.ms/LearnAboutSenderIdentification___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OjMzYjE6YzI0YTIyMmU2ZGY0M2M2ODFjMDI5MjM2MTBjNTQzZjJlMDU0ZGI1MWI4NmQ2NjdkM2VkYTYzN2IzNDEzZTlmYTpoOlQ6Tg> Only sponsors can create Frs — Reply to this email directly, view it on GitHub<https://url.avanan.click/v2/___https://github.com/KelvinTegelaar/CIPP/issues/2691%23issuecomment-2232637562___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OmY3NDc6ZjhmNjAyYzlhZjQ0MmU3N2FkYjZkZjhkMDM4ZjVlNjNkOGU1MzgyNTI0Njg4MmE4OGVmZGU1ZmY0M2Q3MzNiYjpoOlQ6Tg>, or unsubscribe<https://url.avanan.click/v2/___https://github.com/notifications/unsubscribe-auth/AB42JJG2PNG4LW6SGWWDDJDZMYNRLAVCNFSM6AAAAABK7RV5YSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGYZTONJWGI___.YXAzOm5laWdoYm9yaG9vZGl0OmE6bzo5ZDJkNDVjMzI3YmMyM2YwMmE2YmM3MjM4NjE4OWYzMDo2OmM0OTE6ZDhlNmI0NzQxMTMyOTZhOWRiNjhmYmU3MTkyMDg1YmI5MTA5MDI0N2VlOTE0ZTEyNTVhNzc0MGJlYTUyZmIzNjpoOlQ6Tg>. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@neighborhoodit commented on GitHub (Jul 19, 2024):

Sponsoring at NeighborhoodIT-LLC, account should show attached to that org now that I've made the membership Public on my Github profile.

<!-- gh-comment-id:2239809596 --> @neighborhoodit commented on GitHub (Jul 19, 2024): Sponsoring at NeighborhoodIT-LLC, account should show attached to that org now that I've made the membership Public on my Github profile.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#1344
No description provided.