Contact
7 TopicsAdd Phone Numbers to existing AD Contacts
Dear Community Within the last Days, i had to import ~36000 AD Contacts from Excel. I came from basically zero knowledge and created (copy/paste/edit) following: Contact Import function GetUserAttributes($ht) { $otherAttributes = @{} foreach ($k in $ht.Keys) { if(-not [System.String]::IsNullOrWhiteSpace($ht[$k])) { $otherAttributes.Add($k,$ht[$k]) } } $otherAttributes } ##function CutLeadTrailBlank( $Users = Import-XLSX -Path "\\server\it\Gal_export.xlsx" foreach ($user in $Users) { $Displayname = $user.'Givenname' + ' ' + $user.'surname' $Displayname = $Displayname.Trim() $ht = @{ sn = $user.'Surname' givenName = $user.'GivenName' Displayname = $Displayname mail = $user.'emailaddress' PostalCode = $User.'postalcode' physicalDeliveryOfficeName = $User.'Office' streetAddress = $User.'Streetaddress' l = $User.'City' st = $User.'State' c = $User.'Country' department = $User.'Department' Company = $User.'Company' ##'msDS-SourceObjectDN' = 'OU=Unit3,OU=Unit2D,OU=Unit1,DC=Domain,DC=local' } $otherAttributes = GetUserAttributes($ht) ##$password = $user.Password | ConvertTo-SecureString -AsPlainText -Force if($otherAttributes.Count -gt 0) { New-ADObject -Type contact -name $user.Name -Path 'OU=Unit3,OU=Unit2D,OU=Unit1,DC=Domain,DC=local' -OtherAttributes $otherAttributes } } Enable Mail Contact: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; $Users = Get-ADObject -LDAPFilter "(objectClass=contact)" -SearchBase 'OU=Unit3,OU=Unit2,OU=Unit1,DC=Domain,DC=local' -Properties Name,Mail ForEach($User in $Users) { $Params1 = @{ Identity = $User.'Name' ExternalEmailAddress = $User.'Mail' } Enable-MailContact @Params1 } Disable EmailAdressPolicy and replace Adresses Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; $Users = Get-MailContact -ResultSize unlimited -organizationalunit 'Domain.local/Unit1/Unit2/Unit3' ForEach($User in $Users) { $Params2 = @{ Identity = $User.'Name' EmailAddressPolicyEnabled = $false EmailAddresses = $User.'ExternalEmailAddress' } Set-Mailcontact @Params2 } I am pretty sure that everything could be done nicer and in one Script, but that worked well. Now i got a new File with just MailAdresses, telephone and Mobilenumbers that i have to add. How to start? My Idea is to read the contacts, read the file, look for corresponding mail addresses and set the phone numbers. How do I find the corresponding contact in AD that matches the mail address from the File? Any Help appreciated! Thanks, Dani7.7KViews0likes1CommentiOS Device Restriction Settings - Enable Outlook to save managed contacts to device
Hello guys, I am struggling with a specific use-case: I would like to allow users to save Outlook contacts (company email == company contacts) to the native iOS contacts app. Outlook is a managed app and is available to all users. Now I am not quite sure based on the recent blog and the https://docs.microsoft.com/en-us/intune/device-restrictions-ios#app-store-doc-viewing-gaming how to configure it properly without allowing un-managed apps (like WhatsApp) so see or sync the managed contacts that were synced from Outlook to the native contacts app. Especially the official documentation is a bit confusing. On the setting Viewing non-corporate documents in corporate apps it states that it blocks "viewing non-corporate documents in unmanaged apps". Which does not make sense from my point of view. Instead it should be "prevents viewing corporate documents in unmanaged apps" or am I missing something? Just to rephrase my use-case and what I want to achieve, for better understanding: I want to log-in in Outlook with my work account and sync my business contacts to the native iOS contacts app. However, I want to prevent unmanaged apps to be able to see or sync the business contacts. Currently I have the device restriction profile configured as follows: https://i.redd.it/9hrib77ikwf21.png Thank you for your help!5.1KViews1like5CommentsWindows 10 Email & App accounts settings
Hi all, We use Outlook in our organization and we want to deny the ability to add accounts to the windows 10 mail, contact and calendar apps. I tried turning off the apps from policy, and it didn't work. I need this because the mail app is changing the default settings in the computer and when clicking on a link for sending an email it opens the app instead of outlook. Thanks, Rahamim.1.3KViews0likes1CommentCan I integrate a button or menu item next to each MS Teams contacts?
Could you please give me additional information in order to solve my issue? I am a member of the development team and we integrate a private PBX system with corporate products such as MC Teams. I need to integrate a button or menu item next to each contact into the MS Teams Contacts. By clicking on which the customer will be redirected to the web client of the corporate PBX system. Unfortunately, I cannot find this info in the documentation. Is it possible to realize this possibility and if yes, please point me to the necessary topic/link etc. Thanks in advance for your help.Solved1KViews0likes2CommentsSKYPE for BUSINESS - remove / block user
Hello, in company we use Skype for Business 2016. Unfortunately I have one stalker colleague, so I want to forbid that person see my status but to have possibility to write me. That person add me into favourites also. I dont add him into favourites. What will happen if I choose decline the request? What is the difference between block that person and remove from contact list? Or is there possibility to make my status visible based on groups like friends, colleagues.....or based on relationships?694Views0likes0CommentsContacts aren't syncing with local server users
After logging in to skype for business there are no contacts showing in the contacts bar, its empty i should sync and show all the contacts using skype for business on the local server and the specified domain, but its not, is there anything to do so theyll be previewed automatically after adding a user to the domain/local server?522Views0likes0Commentsoutlook contacts continuously restore themselves
I decided to clean out my contacts in outlook, so I exported them all out to a .csv file and then I deleted all 1,200 of them (100 at a time, because apparently microsoft feels that any higher amount would be bad...). Then I spent a few hours in excel combining, consolidating and deleting them down into about 600 contacts. When I went back into outlook and clicked on people, to my surprise all 1,200 of my original contacts were right there again as if I'd done nothing. I figured that some other device must be restoring (through some normal synching process), so I turned off **REMOVED** computers and phones that I've ever used to access outlook). Then I deleted all of the contacts once more, this time using the OWA webpage with my local outlook completely closed. Unfortunately, the exact same thing happens. After repeating that process several more times last night, I shut down my laptop and went to bed. I got up this morning, opened my local outlook app, clicked on people and there were no contacts there at all. For about 5 seconds I was happy, until all 1,200 of them instantly popped right back up like a really bad joke or a dream. Something either on my computer or (I suspect) on microsoft outlook servers is automatically forcing a complete restore of all my contacts. Two side notes: 1) I can create/add and delete single contacts and those changes seem to stick, and 2) I can delete all contacts except a single one and that seems to stick, and 3) I can import my cleaned up .csv file containing 600 contacts back into outlook (with only the one single remaining contact in there), it says that all 600 contacts have been successfully imported, and then within minutes - all 1,200 contacts are back right where they were in the beginning. The truly frustrating part about this issue (and most companies these days), is that IF the customers could possibly **REMOVED** about it so that we can simply continue to make and sell more stuff. It's very sad14Views0likes0Comments