Configure Max Email Message Size for Office 365 using MailboxPlan

Microsoft has announced the Office 365 (Exchange online) now support up to 150MB email message, it’s a quite increase from previous limit as 35 MB , but so as to use that kind of big size emails in the actual environment we have lots of consideration about their laptop performance,  receiver’s message inbound limit, etc..

To set Email message size down to 35 MB on default mailbox plan or specific group, how can I do that? When I check this post , I can use Set-MailboxPlan , but before use that cmdlet,  use Get-MailboxPlan so that verify which mailboxplan we can use, in this tenant , get-mailboxplan           I can only use ExchangeOnlineEnterprise plan , then if I want to use Set-MailboxPlan cmdlet like below , it changes maxsendsize, maxreceivesize set-mailboxplan but This actions looks to change all mailboxes to use this plan, Do you have any way to set MaxSendSize and MaxReceiveSize for specific email group?

Next Post I will describe how to set message size for specific group to study more and more, if we see posts , it teaches to use set-mailbox cmdlet individually , but to divide make groups for setting message size, it needs to find it.

And also you need to read post which I share with you , because before reading this post , I am also confusing message size limits is same Attachment size, as an email administrator need to remember to include that grows allowance when configuring the maximum message size, when we talked to our users they will inevitably be interpreted by them as the maximum attachment size. It needs to be caution think of it.

 

Advertisements

10 useful Office 365 PowerShell snippets

This post is written referenced by 10 useful Office 365 PowerShell snippets, I am still working on office 365 , but sometimes I forgot how can I get my tenant which I made, so I should find it then so as to see whenever I need to remember or memorize that, I introduce you about this note,

I did subscribe office 365 develop version for 1 year trial, it needs to make my own office 365 , in this trial I will do a lot of working without adfs environment, I will start it again.

If you open this post , you can see useful snippets which you used before.

I utilized this post so that create new users using powershell in a long time.

developerpack_accountsku

If you see my accountSkuId, it shows DEVELOPERPACK instead of ENTERPRISEPACK, as I’ve already mentioned I made a office365 trial version for developerpack so as to test 1 yr instead of 1 month, and If I see ConsumedUnits which describes 1 , it means I just one user as global administrator in this tenant.

 

About Groups for Office365

It takes to make new item on blog, I forgot totally to add new one or udpate it, but so as to elevate my ability and interesting stuff, I start again to make new item on this blog.

Anyway when I see around office 365 portal and if I make new distribution group using powershell, I can see introduction office 365 groups on top of powershell execution window, so I have a question what are these differences apparently about Groups.

If we see groups , there are four kinds of groups , for example, Office 365 groups, Distribution groups, Mail enabled security groups, Security groups. On this blog I’ll show you about explanations , differences, how to make it using powershell, it may takes times more than I expected.

If you have a experience of Active Directory , you can notice what is the Security group, this is sort of authorization for resources which we are uisng for example on the oneDrive and Sharpoint, etc., and Mail enabled security groups can be used to control access to OnDrive and Sharepoint as well as to send email to all members of the list. Distribution lists send email to all members of the list. You can even allow people outside to your organization send email to list. But if you make distribution group using powershell, it can use only in the tenant, it is not send from outside. Last thing is Office 365 groups , we may think this is related to groups, but if you make it then see in details, it looks like groups like facebook , this is a great way for teams to collaborate by giving them a group email and a shared workspace for conversations, files and calendar events.

PowerShell

  • Office 365 Groups : New Office 365 groups , use New-UnifiedGroup cmdlet
  • Distribution group : New Distribution group, use New-DistributionGroup cmdlet.
  • Security Group : New Security grooup, use New-MsoleGroup cmdlet, or New-Distribution cmdelet with Type properties with security (New-DistributionGroup -Name “File Server Managers” -Alias fsadmin -Type security)
  • Mail-enabled security groups : it looks no way using powershell, if looks like if we make new security group using new-distributiongroup cmdlet, we can change properties. if you see this link, you can know how it works.

If we make security group, there have two way, one is using New-DistributionGroup and another is new-MsolGroup, I want to know New-MsolGroup cmdlet, but if we go to link , it explained to create security group.

 

Set Pager Attribute on Active Directory

Recently I didn’t make any post of relating office365, but anyway it needs to start again.

Since when I create Bulk AD users for Office 365, I have wonder how to set pager attribute automatically using powershell without manually, and I tried to find pager attribute on the new-aduser cmdlet, it cannot find so as to set pager attribute, in case of us we are using pager attribute for special purpose to distinguish user.

Let me show example, if you have csv file to use new ad user, you can add it into new-aduser cmdlet, -OtherAttributes @{‘Pager’ = $_.Pager} , basically new-aduser cmdlet cannot support Pager attribute.

New-ADUser  -Name $SAM -DisplayName “$Displayname” -SamAccountName $SAM -UserPrincipalName $UPN -GivenName “$UserFirstname” -Surname “$UserLastname”  -AccountPassword (ConvertTo-SecureString $Password -AsPlainText -Force) -Enabled $true -Path “$OU” -EmailAddress $Email  -Office $Office -ChangePasswordAtLogon $false –PasswordNeverExpires $false -Server $ADServer -OtherAttributes @{‘Pager’=$_.Pager}
If you want to see more in details , you need to go and check below link.

https://powershell.org/forums/topic/active-directory-pager-field/

 

Office365 Security group owner change

Sometimes, it needs to change office 365 security group’s owner, normally we use set-distribution cmdlet, but when you try that, you can encounter error ,

when you want to change owner, you need to use parameter basically BypassSecurityGroupManagerCheck , and mangedby ‘s value needs to set samaccount instead of userprincipalanmesetower-securitygrp

if you want to know Set-Distribution cmdlet, you need to click below link.  https://technet.microsoft.com/ko-kr/library/bb124955(v=exchg.160).aspx

 

 

Security and Compliance in office 365 for business (1st)

Today, I’ll study and write down about security and compliance center on office 365, it looks as if to manage stored data for secure as company getting content more than now.

I have a curiosity about what is it eDiscovery and mail retention , so as to understand to be administrator and get certification for it, it needs to know and understand deeply, currently eDiscovery is using to find and hold content rleated to a legal case.

If you want to know in details , please go to this site. https://support.office.com/en-us/article/Security-and-Compliance-in-Office-365-for-business-Admin-Help-7fe448f7-49bd-4d3e-919d-0a6d1cf675bb?ui=en-US&rs=en-US&ad=US

And I’ll introduce it as I read this article and practice on my test tenant to that feature.

Add new domain to office 365 portal(2)

Today, I’ll show how to confirm domain which I want to add office 365 portal using powershell.

It is so easy to confirm domain which I want to, because I’ve already added txt record to dns management site, so if I use Confirm-MsolDomain cmdlet, it shows successfully verified.

confirmdomainif you excute that powershell, you can get values, Availability, AvailabilityDetails, it shows “The domain has been successfully verified for your account.”

showmessages, If I go to see dns status, it shows the status is “setup in progress”, so it looks theare are more jobs to proceed such as “Set up as Default”, so as to set domain as default, I use Set-MsolDomain cmdlet with IsDefault option like below image.

setdomaincmdlet.pngthen if you go to admin page about dns, you can show my new domain have set “Default”

setasdefaultdomainIf I see new domain status on admin page, it shows “Setup in progess”, what should I do next? In my case I did add wrong values to dns , so as to work well, it needs to clean up