Office 365 Groups and Primary SMTP Addresses

So here is an interesting one.

We know Office 365 groups are a hybrid Exchange Online / SharePoint Online thing.

When you create an Office 365 Group, it creates an MSOLGroup and a UnifiedGroup object, that you can access using Windows Powershell (Get-MsolGroup / Get-UnifiedGrou).

Any email addresses that are set as Primary on the unified group, replicate up to the MSOLGroup object.

Now, you can remove them from the unified group, but they will NEVER be removed the MSOLGroup object.  Try it ;-)

This means, if you need to do say a Tenant to Tenant migration, and the default msoldomain is a vanity domain, all office 365 groups will have the vanity domain as primary and you cannot remove it!

The only fix, is to delete the group! -or- raise a call with Microsoft and have your engineer engage with the Microsoft Online Domain Services Backend team (Azure AD) to remove them for you.

Enjoy

 

 

 

List Office 365 Administrators

So, I had a need to see who the other Global Admin are my Tenant.  Knocked this up to help.

The following assumes you already have a remote powershell session to Office 365!

$msoladmin = @()
$roles = Get-MsolRole
ForEach($role in $roles){
  $n = $role.Name
  Write-Host $n " " -NoNewLine -f Green
  [array]$tAdmin = Get-MsolRoleMember -RoleObjectId $role.ObjectId | Select *, @{Expression={$n};l="Role"}
  Write-Host $tAdmin.Count
  $msoladmin += $tAdmin
}
$msoladmin | sort Role,DisplayName | select DisplayName, Role

DirSync and Office 365

I wanted to share this for my own reference, but wanted to share the love.

Have been having a challenge with people thinking I am talking cr@p, which make me smile.  If I am wrong I will admit it.

When you setup DirSync, users from your onPrem AD are copied to the Office 365 Azure AD. Simple.

When you migrate (onboard) a mailbox to Office 365 the onPrem accounts change:

RecipientType RecipientTypeDetails RecipientType RecipientTypeDetails
UserMailbox UserMailbox -> MailUser RemoteUserMailbox
UserMailbox SharedMailbox -> MailUser RemoteSharedMailbox
UserMailbox RoomMailbox -> MailUser RemoteRoomMailbox

Now if you have a filter based on msExchRecipientTypeDetails you need to watch out, as expected the msExchRecipientTypeDetails changes:

Type Before After
User Mailbox 1 2147483648
Shared Mailbox 4 8589934592
Room Mailbox 16 17173869184
Equipment Mailbox 32 34359738368

This caused me some challenges as we had a filter that would only migrate disabled accounts with a value of 4 or 16 in msExchRecipientTypeDetails.

The net result was that after a Shared or Room mailbox was onboarded to o365 they would drop out of DirSync.  This is okay, as they stay in the Azure AD as a deleted user for 30 days.

You can recover a user from deleted users, they appear in Azure AD as “In Cloud” and any mailbox they had is accessible.

This is the fun bit. If the recovered user is added back in to dirsync, dirsync uses the Azure AD ImmutableId and compares that to an OnPrem Guid.  If a match they are become Dirsynced again.

You can see the ImmutableId when your run a get-msoluser.  Essentially it’s a fudge of the OnPrem AD ObjectGuid.  This post explains and here is a script to convert between the two.

Hope this helps someone, it helped me, get an understanding of what the hell was going on!

If this is complete cr@p let me know please!

OnPrem Lync/Skype and Office 365

Had an issue with mailboxes migrated to Office 365 while using OnPrem Lync/Skype.

Lync showed a constant “Enter Credentials” dialog:

LyncEnterCredentials

The KB appears to have fixed it: Office 2013 and Lync 2013 periodically prompt for credentials to SharePoint Online, OneDrive, and Lync Online

A simple registry key that you can rollout with a GPO.

Exchange 2010 with UAG and Moving Mailboxes to o365

Came across this the other, when moving mailboxes from Exchange 2010 to Office 365.

The move works, but takes a hell of a long time.  If you look in the move logs you see:

Transient error MrsHttpInternalServerErrorException has occurred.

It would appear that UAG has a limit of some kind that is causing these errors.

I have not tried this, however Microsoft suggest you can try create following registry key on the UAG servers.

 “HKEY_LOCAL_MACHINE\SOFTWARE\WhaleCom\e-Gap\von\UrlFilter\InconsistentCookieThreshold”
 DWORD
 Value: 30 (Decimal)

Microsoft suggests that this registry key should be removed from the servers, after completing the mailbox migration task.

Activate the UAG server configuration after applying this registry key and then do “IISreset” on all UAG servers.

A Month in #Exchange and #OCS: July 2011: Events

#Exchange2010 #Lync #MMMUG

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* New On-Demand Web Content from June 2011

TechNet Webcast: Lync Server 2010 Architecture Topologies (Level 200)
In this webcast, we describe the overall architecture of Microsoft Lync Server 2010 and the key considerations for the scalability and performance of each server role. This webcast provides the background and framework for the other Lync Server 2010 webcasts and serves as a bridge between the overview session and the drill-downs in the different product areas

TechNet Webcast: Lync Server 2010: Migration and Coexistence (Level 300)
In this webcast, we explore the path of moving from Microsoft Office Communications Server 2007 R2 to Microsoft Lync Server 2010. Although some of the technical functionalities of the products are similar, these are two very different products. Join this webcast to prepare yourself for a successful migration from Communications Server 2007 R2 to Lync Server 2010.

TechNet Webcast: Lync Server 2010: Role-Based Access Control (RBAC) (Level 300)
In this webcast, we introduce the Microsoft Lync Server 2010 Management Shell, a new method of administration and management. The Lync Server 2010 Management Shell is a powerful management interface built on the Windows PowerShell command-line interface, which includes a comprehensive set of cmdlets that are specific to Lync Server 2010. We take a look at various commands and how to perform various management tasks by using the Lync Server 2010 Management Shell.

TechNet Webcast: Consumerization of IT and Sophistication of Attacks (Level 200)
In this webcast, Frank Simorjay discusses how cybercriminals use marketing-like tactics to target consumers, how that can impact an organization, and how you can stay protected.

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* Webcasts of interest showing at a desktop near you in July 2011

Wednesday, July 13, 2011: TechNet Webcast: Information about Microsoft Security Bulletins for July (Level 200)
Join us for a brief overview of the technical details of the Microsoft security bulletins for July. We intend to address your concerns in this webcast; therefore, most of the webcast is devoted to attendees asking questions and getting answers from Microsoft security experts.

Monday, July 25, 2011: TechNet Webcast: Social Engineering Threat Trends in 2010 (Level 200)
Are you interested in learning how social networking has affected the way that cybercriminals work? According to Microsoft’s Security Intelligence Report, Volume 10, social networking has become one of the most common ways that attackers lure their victims. Learn more about the emerging social engineering threats, and get guidance about how you can protect yourself.

A Month in #Exchange and #OCS: July 2011: Links and Downloads

#Exchange2010 #Exchange #Lync

##*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* New Exchange, Office 365OCS and Lync Downloads from June2011

Office 365 Guides for professionals and small businesses
Step-by-step instructions for setting up and using a Plan P1 trial account for Office 365 from Microsoft Online Services.

Office 365 Developer Training Kit – June 2011 Update
Guidance that provides developers with advanced guidance on how to develop for Office 365 including SharePoint Online, Exchange Online and Lync Online

Microsoft Exchange Online Standard
Microsoft® Exchange Online is a hosted enterprise messaging solution based on Microsoft Exchange Server 2007. Exchange Online services include advanced e-mail features as well as calendaring, contact, and task management capabilities. This…

Microsoft Forefront Endpoint Protection (FEP) 2010 Update Rollup 1 Tools
These free downloads make it easier for Forefront Endpoint Protection 2010 Update Rollup 1 customers to use Group Policy for centralized management, provide optimized settings for various server roles, and diagnose and troubleshoot support issues.

Microsoft Advertising SDK for Windows Phone
Advertising SDK for developers who want to monetize their Windows Phone applications.

Exchange Server 2010 SP1 Help
This download contains a standalone version of Microsoft Exchange Server 2010 SP1 Help.

Exchange 2010 Tested Solutions: 32400 Mailboxes in Three Sites Running Hyper-V on Cisco Unified Compute System Blade Servers and EMC CLARiiON Storage
In the Exchange 2010 Tested Solutions white papers, Microsoft provides examples of well-designed, cost-effective Exchange 2010 solutions deployed on hardware offered by some of our server, storage, and network partners.

Microsoft Online Standard Service Descriptions
Microsoft Online Services provides enterprise-level hosted solutions for e-mail, collaboration, instant messaging and Web conferencing. Services are delivered from a highly reliable network of Microsoft data centers located strategically throughout the world that provides seamless connectivity to the Microsoft Online suite of services —enabling customers to use the latest productivity applications

Microsoft Online Services- Support and Service Management Service Description
This document has been moved. Please update your links and bookmarks with the new location, listed below.

Visio 2010 Add-in for Exchange Server 2007
This Microsoft Visio Add-In makes it easy for Exchange administrators to visualize, explore, and communicate complex…dramatically increase productivity. You can diagram a Microsoft® Exchange Server 2007 site topology, including sites, servers…

Visio 2010 Add-in for System Center Operations Manager 2007 R2
This add-in helps you monitor and manage your IT network in a Visio diagram which you can share with others via their browser in Microsoft®SharePoint®2010.

VHD Test Drive – Lync Server 2010 VHD
This download comes as a pre-configured set of VHD’s. This download enables you to fully evaluate Microsoft Lync Server 2010.

Microsoft Active Directory Topology Diagrammer
The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using LDAP, and then automatically generates a Visio diagram of your Active Directory and /or your Exchange Server topology. The diagramms may include domains, sites, servers, organizational units, DFS-R, administrative groups, routing groups and connectors and can be changed manually in Visio if needed.

Achieving Immutability with Exchange Online and Exchange Server 2010
With Exchange Server 2010 SP1 and Exchange Online, Microsoft enables organizations to immutably preserve mailbox items for discovery using an in-place archive.

How to Choose the Right Email Solution for your Business White Paper
This whitepaper discusses the various email solution factors to consider when deciding on your next email platform, as well as the top 10 factors that will matter to most businesses.

Forefront Online Protection for Exchange Service Description
This download contains the Service Description for Forefront Online Protection for Exchange (FOPE).

Microsoft Office Communications Server 2007 R2 Hotfix KB 968802
This download includes all available updates for Office Communications Server 2007 R2.

Microsoft Office Communicator 2007 R2 Hotfix KB 2549042
This download contains an update for Microsoft Office Communicator 2007 R2.

Microsoft Office Communications Server 2007 R2 Group Chat Hotfix KB 2549044
This download contains updates for Microsoft Office Communications Server 2007 R2 Group Chat.

Unified Communications Phones and Peripherals Datasheets
These datasheets list the phones and peripheral devices that are qualified to display the “Optimized for Microsoft Lync” logo.

Microsoft Lync 2010 IM and Presence Training
Learn how to optimize your IM and Presence experience with Microsoft Lync 2010.

Live Meeting-To-Lync Transition Resources
Resources included in this download package are designed to support your organization’s Live Meeting Service to Lync (Server or Online) transition planning. This download will be updated with additional resources as available.

Microsoft Lync Online IM and Presence Training
Learn how to optimize your Instant Messaging and Presence experience with Microsoft Lync Online.

Microsoft Lync Online Training
Learn about Microsoft Lync Online, and the helpful features to manage your communications effectively.

Group Chat Stress Tool for Microsoft Lync Server 2010 – Documentation
This download provides documentation about Group Chat Stress Tool and Group Chat Loaders for Microsoft Lync Server 2010.

Conversations Analyzer for Microsoft Lync 2010 Getting Started Guide
This download provides end-user documentation about the Conversations Analyzer application for Microsoft Lync 2010.

Information Dashboard Add-In for Microsoft Lync 2010 Getting Started Guide
This download provides end-user documentation about the Information Dashboard add-in for Microsoft Lync 2010.

Tabbed Conversations for Microsoft Lync 2010 Getting Started Guide
This download provides end-user documentation about Tabbed Conversations for Microsoft Lync 2010.

Unified Communications Phones and Peripherals Datasheets
These datasheets list the phones and peripheral devices that are qualified to display the “Optimized for Microsoft Lync” logo.

Conversation Translator Add-In for Microsoft Lync 2010 Getting Started Guide
This download provides end-user documentation about the Conversation Translator add-in for Microsoft Lync 2010.

Microsoft Lync Online Web App Training
Learn how to use Microsoft Lync Online Web App to join meetings, when you don’t have Lync installed.

Microsoft Lync Online Conferencing and Collaboration Training
Learn how to schedule, join, and manage online meetings with Microsoft Lync Online.

Microsoft Lync Online Voice and Video Training
Learn about Microsoft Lync Online voice and video features, and how to use the controls.

Introducing Microsoft Lync Online
This course covers an introduction to Microsoft Lync Online features and tools.

Microsoft Lync Online Attendee Training
Learn how to use Microsoft Lync Online Attendee to join meetings, when you don’t have Lync installed.

Tabbed Conversations for Microsoft Lync 2010
Tabbed Conversations is an application that provides a tabbed Lync 2010 conversation window to allow multiple instant messaging (IM) conversations in a single window.

Conversations Analyzer for Microsoft Lync 2010
Conversations Analyzer is an application that reviews your Microsoft Lync instant messaging (IM) conversation history and gives you scores for your use of trust-building language in day-to-day…

Conversation Translator Add-In for Microsoft Lync 2010
Conversation Translator provides a real-time language translation service for Lync instant messaging (IM) conversations. With Conversation Translator, both the sender and receiver can converse in their native language, and Conversation Translator handles the translation.

Information Dashboard Add-In for Microsoft Lync 2010
Information Dashboard helps you start a conversation with a remote contact by providing current information about the contact’s location. For example, if you are calling a co-worker or a client in Shanghai, China, you can open Information Dashboard and enter the location of Shanghai before making the call.

Microsoft Lync Server 2010 Group Chat Stress Tool
Group Chat Stress is a tool that can be used to help verify your Microsoft Lync Server 2010 and Microsoft Lync Server 2010, Group Chat hardware deployment. The Group Chat Stress package is made up of two applications…

Microsoft Lync 2010 Adoption and Training Kit: Lync Custom Intranet Site
This zipped file contains a sample intranet site for Microsoft Lync 2010.

Standard Response to Request for Information – Security and Privacy
This White Paper describes how Office 365 fulfills the security, compliance and risk management requirements as defined by the Cloud Security Alliance, Cloud Control Matrix.

Office 365 for professionals and small businesses Service Description
This document provides a detailed description of the features and functionality of Office 365 for professionals and small businesses (P1) service.

Microsoft Office 365 Guides for midsize business and enterprises
Microsoft Office 365 Guides for midsize business and enterprises

Security in Office 365 White Paper
This whitepaper provides an overview of the security practices and technology that support enterprise-grade security in Microsoft Office 365 for businesses of all sizes.

Office 365 White Paper: Guidance for Office Development in Office 365
This white paper explains the primary differences between developing Microsoft Office client solutions for Microsoft SharePoint Online in Office 365 and for the on-premises version of SharePoint 2010.