Archive | Azure RSS feed for this section

Set-MsolUserPrincipalName : Access Denied.

5 Dec

Most of the time, you see the “Access Denied. You do not have permissions to call this cmdlet” error message because of a non-existent UPN name in the “-UserPrincipalName” parameter.

To verify this, you can combine Get-MsolUser and Set-MsolUserPrincipalName cmdlets to include this validation check to get some more meaningful error message.

I suggest you replace “Set-MsolUserPrincipalName -UserPrincipalName $365 -NewUserPrincipalName $email

with “Get-MsolUser -UserPrincipalName $365 | Set-MsolUserPrincipalName -NewUserPrincipalName $email” and let us know the outcome.

Advertisements

Removing Inactive Domain Users from Global Address List – Azure AD SYNC

2 Feb

Generally speaking, we can use “Hide from Exchange Address lists” to achieve it.
You can hide the account from the Global Address List in Office 365 by setting the msExchHideFromAddressLists attribute for the object to “true” in their on-premises Active Directory. The prerequisite is that on-premises AD schema is extended for Exchange. You can open the Properties of this accout, and then locate the Attribute Editor tab to check this attribute.

Please refer to this article to see the attributes that are synced from local AD to Windows Azure Active Directory: http://social.technet.microsoft.com/wiki/contents/articles/19901.dirsync-list-of-attributes-that-are-synced-by-the-azure-active-directory-sync-tool.aspx

You can see the attribute msExchHideFromAddressLists is listed on the table.
After that, please force DirSync to update the change, and then wait a little time

Office 365 Calendar sharing – share to a group of people within organisation

2 Feb

Good discussion about sharing calendars with distribution groups and why it doesnt work!

https://community.spiceworks.com/topic/1747210-office-365-calendar-sharing-share-to-a-group-of-people-within-organisation

 

Azure/Dir Sync

2 Nov

Sometimes you want to run a manual sync of your Azure/Dir Sync tool, you can do this via powershell using the following command;

 

Start-ADSyncSyncCycle -PolicyType Delta

Azure AD sync – UPN

11 May

http://www.lewisroberts.com/2015/01/22/addendum-getting-started-with-azure-active-directory-sync-upn-suffix/