mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #2430] [Feature Request]: Variables in transport rule templates #1229
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#1229
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 @SGeeves on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2430
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.
For most other templates in CIPP there are variable replacements. Us being an MSP, we have some exchange transport rules which forward/prepend some incoming emails with tenant specific information.
(For example the prepend the subject line with %TenantName% and forward to our main support desk).
*I am a sponsor under FutureITNZ
PowerShell commands you would normally use to achieve above request
$TenantInfo = Get-MgOrganization
$TenantName = $TenantInfo.DisplayName
New-TransportRule -Name "FIT - Device Enrolment Forward" -From "*@microsoft.com" -SubjectMatchesPatterns "New Device Enrolled" -BlindCopyTo EmailRemovedForPrivacy -Priority '2' -PrependSubject "$TenantName - "
@github-actions[bot] commented on GitHub (May 19, 2024):
This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.
@github-actions[bot] commented on GitHub (Jun 2, 2024):
This issue was closed because it has been stalled for 14 days with no activity.