IDFix for Public Folders

When migrating public folders to Office 365, basic checks need to be performed against the mail-enabled public folder objects to ensure they follow the same rules as the mailboxes (invalid characters or duplication in alias/mailnickname and SMTP attributes).

5 Star
2,445 times
Add to favorites
Office 365
E-mail Twitter Digg Facebook
  • Getting random characters
    1 Posts | Last post February 08, 2018
    • I've run the initial command to generate the input csv file from our on premis Exchange 2010 server; however, I do not recieve a file with headers and entries. I have the file generated but with only one field filled in and with only these characters:
  • Quick question
    3 Posts | Last post January 03, 2018
    • When configuring on prem PF's (legacy or otherwise) would it be prudent to run this script to identify PF issues?   
      I can see that others have asked this, and perhaps I missed it, I am getting prompted with a dialog to open a file location - I can't seem to find the details on this-- what am I looking for on this? 
      Thanks very much. 
    • It's in the script.  I haven't look at this script in a few years, so I should probably update it:
      Get-Recipient -ResultSize Unlimited -RecipientTypeDetails PublicFolder | Select Alias,DisplayName,Name,RecipientType,RecipientTypeDetails,@{Name='EmailAddresses'; Expression={[string]::join(";",($_.EmailAddresses))}} | Export-Csv -NoType PublicFolders.csv -Encoding UTF8
       Output file will have columns labelled:
    • And yes--the idea is to look for PFs that may need to be updated.  I'm working on a new version of this script that will perform more pre-flights, but for now, run it against your PFs prior to configuring hybrid public folders.  The big thing is checking for invalid aliases and proxies for your MEPF's.
  • Dialog prompt
    3 Posts | Last post December 11, 2017
    • Hey Aaron, perhaps a very stupid question.
      when i launch the script i get prompted with a dialogbox to open a file..
      first i thought it was an outputfile i had to select, but i'm not sure.
      it doesn't seem to work.
      what do I need to select here?
      the PF database itself?
      thank you
    • sorry Aaron, i should have read your comments in your script prior of asking you this question.. apologies.
    • No problem!  Good luck!
  • SmtpIsBad column is empty
    2 Posts | Last post November 06, 2017
    • Hi Aaron! I ran the script and it generated the SuggestedAlias colum with random Alias and the column SMTP has the actual SMTP value. But the SmtpIsBad column is empty. I dont know why. Is it right? Thank you! Fernando
    • SmtpIsBad indicates that the SMTP address failed the Net.Mail.MailAddress validation.  If it fails, you'll get a "Yes" in that column.  
  • Failed to generate input file
    2 Posts | Last post June 06, 2017
    • I tried to run the script to generate input file but every time I ended up with prompt again ">>" without having no file. I am not sure if I am doing wrong or the scrip needs to be corrected. 
    • Never mind I found my mistake. Thank you.
  • Random Number Query
    2 Posts | Last post June 11, 2016
    • Hi, I was wondering why it appends a random number to the end of the Alias?
    • To avoid duplication with either other existing aliases or others that might be found during the PubFold IDFix process.  I ran into numerous situations where administrators had programmatically created MEPFs and replicated the Alias value hundreds or thousands of time, so I needed a way to ensure this didn't happen, and it was faster than a Get-Recipient every time.