0 votes

The closest operation I figure is "modfying exchange properties" of a user but not sure how I can filter the conditions to match. It's possible I could block all exchange edits except the calendar modification but was hopefully looking for a more elegant solution possibly using a powershell script condition with the context? Was also looking at adm-MsExchMailboxCalendarPermissions but havent played around with that yet.

by (280 points)

1 Answer

0 votes
by (294k points)

Hello,

Your approach is correct. In the business rule triggering After updating Exchange properties of a user, execute the below script in the If PowerShell script returns true condition:

$modifiedMailboxParams = $Context.Action.MailParameters
$Context.ConditionIsMet = $modifiedMailboxParams.CalendarSettingsModificationEnabled
0

Is it possible to essentially run a dif on the values before and after so that I can send an approval mentioning only the added user? Cant seem to get $Context.GetModifiedPropertyValues working properly.

0

Hello,

Unfortunately, there is no such possibility. The approval email body is generated automatically and there is no way to modify it. At the same time, each request will include information only on a single user being updated.

Related questions

0 votes
1 answer

I am trying to trigger processing outside of Active Directory when an account is created based on the source user account that was used. Does Adaxes store the source account anywhere?

asked Oct 9, 2023 by jnordell (20 points)
+1 vote
1 answer

When an approver approves or denies an approval request, they are prompted for a reason, but this field can be left blank. Is there a way to make this field required?

asked Mar 3, 2022 by KelseaIT (320 points)
0 votes
1 answer

We have a business rule that will update an AD attribute when a new member is added to a group. This business rule works when we use powershell commands or the admin console ... set to trigger "After adding a member to a group". Thank you for your support!

asked Mar 29, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

I'm building my first rule to license users in Office365. When the rule runs it fails to find the Usage Location which is based on the Country (default settings). I ... runs before the "assign 365 license" rule. Why am I not getting Usage Location populated?

asked Jul 20, 2020 by ComputerHabit (790 points)
0 votes
1 answer

In a business rule, I'd like to pass Adaxes variables into a powershell script that I'll run. For example, pass %username% into the script so it can be used inside the script.

asked Sep 5 by P-Sysadmin (20 points)
3,588 questions
3,277 answers
8,303 comments
548,090 users