Error when deleting groups without members
Hi
I have an authorization workflow for group deletions where I notify the owner and members that the group is deleted. When there are members all goes fine, but when there aren’t, it gives an error. Is this a bug or am I doing something wrong?
December 22nd, 2009 12:02pm
Hi Hartwal,I tried this scenario and it completed successfully w/o any errors. Can you share what error you are seeing?Thanks,Sri
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2009 2:37am
Hartwal,exactly which build are you on? That could make a difference.David Lundell www.ilmBestPractices.com
January 1st, 2010 12:36am
Thanks for the replies.
I have installed Update 2
There are two notifications in my workflow. The first one goes to [//Requestor] and the second one to [//Target/ComputedMember] (I tried also [//Target/ExplicitMember])
This is what I do:
Create a security group as an Administrator (Display Name: Security Group X, Account Name: SecurityGroupX, Remove the default member Administrator)
Delete the groups as an Administrator
(The group stays, but the Administrator gets an email)
When I check the page “Search requests”, it says that this request is denied (Request Workflow Remarks says: The workflow instance ‘GUID’ encountered an internal error during processing. Contact your system administrator for more information)
In addition there are two errors in the FIM Log:
1) EmailNotificationDataExchange caught an exception while trying to send an email. The email was not sent. See the trace immediately following for exception contents.
2) Microsoft.ResourceManagement.Service: System.ArgumentException: Invalid or NULL email address
at Microsoft.ResourceManagement.Mail.Utilities.ValidateMailMessage(GenericMessage message, IMailServer mailServer)
at Microsoft.ResourceManagement.Mail.NotificationMessage.Send()
at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.SendMailMessage(MessageContent messageContent)
at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.ProcessWorkItem(WorkItem workItem)
It seem that this is because of "Invalid or NULL email address" but how could it be because there is no members
And everything works fine when there are members or if I delete the second notification from my workflow.
Free Windows Admin Tool Kit Click here and download it now
January 4th, 2010 3:47pm
Hi Hartwal! Unfortunately this exception occurs when there's no recipients. This will probably cause a lot of implementers headache in the future unless fixed with at least a better description. Until this have been resolved (if it's considered for resolving of course) you'll have to live with it... //HenrikHenrik Nilsson
Blog: http://www.idmcrisis.com
Company: Cortego (http://www.cortego.se)
January 5th, 2010 11:44am
Ok. Thanks Henrik.
Free Windows Admin Tool Kit Click here and download it now
January 5th, 2010 4:19pm