User Profile
jerome317
Brass Contributor
Joined 7 years ago
User Widgets
Recent Discussions
Re: Access Office 365 Audit Logs
I was on the same boat, then thought.... I should google (i mean BING!) 'How to test Graph API with Postman'. This article walked me through how to set up the authentication process, you can even generate the code out of Postman. https://blogs.msdn.microsoft.com/aaddevsup/2018/05/21/using-postman-to-call-the-microsoft-graph-api-using-client-credentials/3.5KViews0likes2CommentsRe: How to get All Azure AD devices with the column values from the Azure GUI app?
Since you seem familiar, I'll refer you to the documentation: https://docs.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0#devices What I like to do when creating a report like this is piping Format-List (FL for short) so I can see what's all the information available to me. To start: Get-AzureADDevice -Searchstring "YourDeviceName" | Format-List You can them combine/pipe with others to find what you need. It looks like there is a specific command to find the owner. If you can't find what you need, you might need to use Graph API to retrieve those. https://docs.microsoft.com/en-us/graph/api/resources/intune-graph-overview?view=graph-rest-1.0104KViews1like3CommentsRe: Moving domain and email to new host
Paul_walkerCorrect, if you move the domain to ionos, then just configure a few DNS entry to point email back to office365. It looks like you can do this automatically through Office365 portal after you move DNS management to ionos. Check the article below. https://docs.microsoft.com/en-us/office365/admin/get-help-with-domains/domain-connect?view=o365-worldwide3.1KViews0likes0CommentsRe: Dynamic DL or group based on org hierarchy?
VasilMichev wrote: If you need a dynamic DL, those exist only in Exchange Online (not Azure AD) and you must use the Exchange cmdlets: New-DynamicDistributionGroup manager -RecipientFilter {(Manager -eq 'CN=user,OU=tenant.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURPR03A001,DC=prod,DC=outlook,DC=com') -and (RecipientType -eq 'UserMailbox')} where you need to provide the full DN of the manager. VasilMichev- you can do it in Azure AD with the 'modern DL' called Office365 Groups haha using Microsoft verbiage here!15KViews0likes2CommentsRe: Moving domain and email to new host
Paul_walker If you are wanting to migrate email from Office 365 to IONOS, your best bet is asking your hosting provider support how to migrate from Office 365. More than likely, they already have this documented. It also sounds like the previous support provider is assuming you will just host email on Office 365 (which if you ask me, is better to host email in Office365). Hope that helps!3.2KViews0likes2CommentsRe: Dynamic DL or group based on org hierarchy?
CG-1717 You should be able to do an advanced dynamic rule... (condition1) or (condition2) and (accountenabled = true). Reference: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership Create a "Direct reports" rule You can create a group containing all direct reports of a manager. When the manager's direct reports change in the future, the group's membership is adjusted automatically. The direct reports rule is constructed using the following syntax: Direct Reports for "{objectID_of_manager}" Here's an example of a valid rule where "62e19b97-8b3d-4d4a-a106-4ce66896a863" is the objectID of the manager: Direct Reports for "62e19b97-8b3d-4d4a-a106-4ce66896a863"15KViews0likes0CommentsRe: Script to export to CSV all Mailboxes and SharedMailboxes
Weird. Exact script I ran and shows results, License is blank if it is a Shared/Resource mailbox. So if you run a separate command using this, does it show licenses? Get-MsolUser -UserPrincipalName YOUR_UPN@contoso.com | select DisplayName,Licenses50KViews0likes2CommentsRe: Script to export to CSV all Mailboxes and SharedMailboxes
rootwontfallConfirmed this one has worked... just change the ResultSize to Unlimited Get-Mailbox -ResultSize 10 | select displayname,UserPrincipalName,RecipientTypeDetails,@{Name='Mailbox Size';Expression={Get-MailboxStatistics $_.UserPrincipalName | Select TotalItemSize}},@{Name='Licenses';Expression={(Get-MsolUser -UserPrincipalName $_.UserPrincipalName | Select -ExpandProperty Licenses).AccountSKUID}} |Export-Csv -NoTypeInformation .\Desktop\Test.csv52KViews0likes6CommentsRe: Script to export to CSV all Mailboxes and SharedMailboxes
rootwontfall That's right... woops, I only tried displayname and licenses and didn't confirm the rest. I'd say do the same thing with TotalItemSize using the format when I retrieve the licenses. It does help if you can post your actual command π @{Name='Licenses';Expression={(Get-MsolUser -UserPrincipalName $_.UserPrincipalName | Select PropertyHere)50KViews0likes0CommentsRe: Script to export to CSV all Mailboxes and SharedMailboxes
rootwontfall Here you go! Get-Mailbox -ResultSize Unlimited | Select DisplayName,UserPrincipalName,RecipientTypeDetails,TotalItemSize,@{Name='Licenses';Expression={(Get-MsolUser -UserPrincipalName $_.UserPrincipalName | Select -ExpandProperty Licenses).AccountSkuID}} | Export-CSV -NoTypeInformation $env:USERPROFILE\Desktop\File.CSV51KViews0likes2CommentsRe: Office 365 Exchange Login Activity Log for Users
famadorianI've been in the scenario when we first implemented O365. :) I recommend reading up on it. Azure is the overarching cloud service by Microsoft. Azure AD (short for Azure Active Directory) is one of those services, which is directly tied with Office 365. https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis14KViews0likes0CommentsRe: Non-Member of Private Group able to email group - is this correct?
This is good, I would just add you can also set a moderator or approver in addition to the setting below. Just in case it is something useful. You can set multiple moderators too. Set-UnifiedGroup GroupNameHere -ModerationEnabled:$True -ModeratedBy UserMailbox VasilMichev wrote: If needed, you can impose delivery restrictions on the group (regardless if it's Private or Public) via PowerShell: Set-UnifiedGroup groupname -AcceptMessagesOnlyFromSendersOrMembers groupname You can designate a user, DG, another Group or whatever for the list of people allowed to send. VasilMichev11KViews0likes0CommentsRe: Office365 group send email to users inbox
adam deltingerHey Adam, you can actually make them subscribe! Via powershell π Members can indeed unsubscribe again though... get-unifiedgrouplinks GrouprNameHere -LinkType Members | Add-UnifiedGroupLinks GroupNameHere -LinkType Subscribers5.1KViews0likes2CommentsRe: Group expiration policy email customization
Wouldn't that be nice? Same to the welcome messages... but at least those you can setup the description and you're good to go. For this use case, maybe setup a script? Get-UnifiedGroup has a ExpirationTime property... leverage that with Send-MailMessage with O365 DirectSend (or your Mail Relay of your choice) then you can send custom message. π https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3#option-2-send-mail-directly-from-your-printer-or-application-to-office-365-direct-send1.5KViews0likes0Comments
Recent Blog Articles
No content to show