Showing posts with label Office 365. Show all posts
Showing posts with label Office 365. Show all posts

Tuesday, May 28, 2013

office 365 - Exchange admin path

Microsoft have hidden the Exchange admin tasks from the main admin screen which is bizarre.  You can find it again by adding /ecp to the end of your outlook owa path as below.  Replace xxxx with your OWA pod number.

https://podxxxx.outlook.com/ecp/


Friday, January 04, 2013

Set Up an Office 365 Shared Mailbox

Microsoft have a training video on the right way to setup an office 365 mailbox here

Altnerate reference here: Set Up a Shared Mailbox

Outlook folder Automapping


If you assign permissions to a an exchange user or folder using Powershell to a folder you can define if that Folder should be automatically displayed (or auto-mapped) when Outlook next starts.  . If a user is granted Full Access permissions to another user's mailbox or to a shared mailbox, Outlook, through Autodiscover, automatically loads all mailboxes to which the user has full access. This parameter accepts $true or $false values.

eg:

Add-MailboxPermission -Identity JeroenC -User 'Mark Steele' -AccessRights FullAccess -InheritanceType All -AutoMapping $false
Source article

Office 365 script for giving (or recinding) send-as permissions


param($mailboxname,$user)
$mailbox = get-mailbox $mailboxname
#Give user full mailbox rights
Add-MailboxPermission -Identity $mailbox -User $user -AccessRights 'FullAccess'
#Give user send-as rights to mailbox
Add-ADPermission -Identity $mailbox.DisplayName -User $user -ExtendedRights 'Send-as'
--------------
param($mailboxname,$user)

$mailbox = get-mailbox $mailboxname
#Remove user full mailbox rights
Remove-MailboxPermission -Identity $mailbox -User $user -AccessRights 'FullAccess'
#Remove user send-as rights to mailbox
Remove-ADPermission -Identity $mailbox.DistinguishedName -User $user -ExtendedRights 'Send-as'


Article source here
http://www.exchange-powershell.com/ 

Office 365 mailbox and folder permissions (with powershell)

The number of e-mail folder and mailbox permissions possible with Office 365 can be very confusing...  Below are some powershell tips on how to display the permissions followed by some tips on how to add permissions.

Viewing permissions

Using a Powershell linked session (see this post for more info) you can retrieve the permissions set at one of the following three possible hierarchical levels:

a)  Mailbox level
  b) Mailbox Top of Information Store level
    c) A Mailbox Folder level

The above hierarchical levels are hereditary by default, however can be overridden by a specific permission set at a lower level or by using a variant of the switch -InheritanceType (None | All | Descendents | SelfAndChildren | Children )

For level (a - Mailbox) use the PS > get-mailbox | get-mailboxpermission
(add | fl at the end of the command to get a formatted output)
To filter for a particular user  
PS > get-mailboxPermission -Identity username@company.com | fl

For level (b - Mailbox Top Level) use the PS > get-mailbox | get-mailboxFolderPermission

To filter for a particular user  
PS > get-mailboxFolderPermission -Identity username@company.com | fl


For level (c - Mailbox Folder Level) add :<\foldername> to the end of the indentity
PS > get-mailboxFolderPermission -Identity username@company.com:\inbox | fl

Setting permissions - in powershell

a) Adding a Top folder level permission on a mailbox name@company.com for a user "mysec"
PS > Add-MailboxPermission "name@company.com" -User "mysec" -AccessRights ReadPermission

b) Adding a Top folder level permission on a mailbox name@company.com for a user "mysec"
PS > Add-MailboxfolderPermission "name@company.com" -User "mysec" -AccessRights Reviewer

c) Adding a folder level permission on a mailbox name@company.com for a user "mysec"
PS > Add-MailboxfolderPermission "name@company.com:\inbox" -User "mysec" -AccessRights PublishingEditor

Setting permissions - in Outlook

You can set permission for a users mailbox Top Level Folder (b) or Specific Level Folder (c) from a connected Outlook client.

(b) right click on the account name and choose Folder Permissions 

(c) right click on the folder name and choose Properties.  Then click on Permissions and set them there.
 



Wednesday, May 09, 2012

Office 365 Error- Access Services reports are not enabled.

I have long been sceptical about running custom SharePoint sites on Office 365, but I thought as its maturing I'd give it another bash.

I needed to store a list of contacts and other meta data, so I thought I'd add a "Contact Web" subsite.  This is actually an access database that is hosted in Sharepoint.  Very clever I thought, but so near and yet so far.....

The default Address book view allows you to add and edit contacts, however in the Note portion you get a correlation error saying "Access Services reports are not enabled. To view the report, open the report in the Access client." - not very helpful.  If you try to go to the Report Center tab you get the same issue.

Apparently the reason is that Office 365 hasnt turned on access services !    So the Contact Web subsite that that Office 365 allows you to create isnt fully supported by Office 365 !!

Come on Microsoft, either offer full access services or handle your errors properly and dont offer a site template you cant support.

http://support.microsoft.com/kb/2632471

Error- Access Services reports are not enabled. To view the report, open the report in the Access client. - Office Professional Plus developer - Office 365 - Microsoft Office 365 Community

Tuesday, January 03, 2012

Office 365 - Powershell connection

To connection to Office 365 use the following set of commands.  Firstly let Powershell have permission to run remotely signed scripts.  Then set the credentails to logon with, create a Powershell session to Office365.  Import the commands you can use in that session and then off you go....



Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
------------------------------------------


Once you have a session then you can use commands to assign permissions such as:

Add-MailboxPermission "Telephone Messages" -User IanSmit@mycompany.com -AccessRights FullAccess

Monday, January 02, 2012

Office 365 - hiding an external contact from the GAL

1. Connect to Exchange Online by using PowerShell. For more information about how to do this, see the following article:
http://help.outlook.com/en-us/beta/cc952755.aspx?sl=1
2. Run the following cmdlet to hide an external mail contact:
Set-MailContact -Identity -HiddenFromAddressListsEnabled $true
By doing so, the external mail contact will be hidden from global address list (GAL).

How to turn on email archiving in Office 365

It took me a while to see if this was even available in Office 365 P1 Plan, but it is and you can enable it as follows:

·         Login to your web login.microsoftonline.com portal
·         Admin
·         Users
·         Select user and Edit
·         More from the menu under the user name
·         Change Mailbox Settings
·         Expand mailbox features
·         Select Archive and Click Enable


(Don’t forget to check the default policies are what you require)
·         Goto Outlook Web
      ·         Options (top right)
      ·         See All Options
·         Organise Email
·         Retention Policies

Sunday, January 01, 2012

Displaying other Outlook accounts when migrating to Office 365

In migrating Email accounts in Outlook 2010 to Office 365, Ive been copying email from the users existing exchange account to the new Office 365 folders (after adding the new Office 365 account as an additional Exchange account in Outlook)

I then needed to add additional mailboxes from the new Office 365 users onto the secretaries Outlook, however the normal functionality wouldnt work.  Additionally when I tried to remove the existing Exchange account from Outlook after copying all the emails and folders over, I found that Outlook wouldnt let me.

The only solution seems to be to create a brand new Outlook mail Profile for the new Office 365 user.  Then you will be able to add the new Office 365 additional users.

The reason is that Outlook doesnt allow opening multiple mailboxes that belown to different Exchange organisations or domains. 

See this thread for more information

Saturday, December 31, 2011

Office 365: one or more users need an assigned license

I recently setup a five user P1 Email system on Office 365.  Iniitally I setup the default xxx.onmicrosoft.com domain and added the users.  

Then I added the "Vantiy domain" ie mycompany.com  (why Microsoft call this a vanity domain is beyond me, Id call it an essential to do business domain, but....)

I then changed the logon primary account for each user from @xxx.onmicrosoft.com to @mycompany.com - (There are a number of poweshell scipts around for this, however you can do it from the Office 365 Admin GUI.  Just go to the users and once the Vantity domain has been validated you can change the login domain to the one you have added.)

I then started receiving a typical Microsoft Cryptic error message: "one or more users need an assigned license in order to retain an exchange online mailbox or archive."

I created a view as they suggested showing unlicensed users, and it showed all my users...!

It took me ages to work out what Microsoft 365 were on about, but it seems that the license is assigned to the logon name account - and so changing it to mycompany.com domain confused it.  All other settings and data such as email etc stayed in tact.

This has got to be an Office 365 bug

Work around fix:
  • You need to go to each user on the Admin screen on office 365,
  • go to licensing
  • un-check the Lync license
  • Save and update
  • Then go back into the account again
  • check the Lync license
  • Save and update
Hey presto problem has gone.  It would seem that re-applying a small change to the license, re-assigns it correctly to the changed user@mycompany.com

CAUTION DO NOT Uncheck the Exchange License as Ive seen dire warnings saying this will delete the users email mailbox which would be bad !