Posts

Showing posts from 2025

How to restrict Group and Teams Creation with MSGraph

Image
 You're right! Since AzureAD and MSOnline modules are deprecated, you need to use the Microsoft Graph PowerShell SDK to retrieve the group ID. Solution Using Microsoft Graph PowerShell You must have a M365 group created first and define the membership :  Allowed Group Creators . 1. Install and Connect to Microsoft Graph PowerShell If you haven't installed it yet, run: Install-Module Microsoft.Graph -Scope CurrentUser Then, sign in with an Admin account : Connect-MgGraph -Scopes "Group.Read.All", "Directory.ReadWrite.All" If prompted, grant admin consent for the required permissions. 2. Get the Security Group ID Since Get-AzureADGroup no longer works, use this instead: Get-MgGroup -Filter "displayName eq 'Allowed Group Creators'" Copy the Id from the output (this is the Object ID needed for the restriction). 3. Apply Group Creation Restriction Run the following PowerShell commands to modify the Microsoft 365 Group Crea...

Fetch a number range and route to a Auto Attendant or Resource Account incl. masking outbound Calls with Microsoft Calling Plans

Handling Inbound Call Routing with Microsoft Calling Plans Inbound Call Routing with does not work with Microsoft Calling Plans ! This only works with Direct Routing , meaning a voice route on a  SBC . The reason is that Microsoft Call Routing only handles outgoing calls. Set-CsOnlineVoiceRoute: Modifies an online voice route. Online voice routes contain instructions that tell Microsoft Teams how to route calls from Microsoft or Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX) . Here possible scenario: Here are some configuration setup Microsoft assigned phone numbers from +4912345600 - +4912345699  What we want to archive is: The number range from +4912345600 - +4912345649 for incoming calls must be route to +4912345610 .  Within this range, dedicated numbers are assigned to some users If they make a outgoing call, the outgoing number must be displayeed as +4912345610.  The number +491234561...

How to "autostart" Outlook new

Image
Outlook New is not automatically defined in the autostart routines. Therefore, you must add it manually. Start the Windows Taskmanager, with Outlook New running and locate the Outlook Main Task. Right click and open File Location. Next, press Windows Key + R and type :" shell:startup ". This opens the startup location folder. Align both windows and right click and drop the Outlook New file (OLK.EXE) from it's location into the startup folder. Chose the "create shortcut" option. You successful completed the task and Outlook New will startup during your next login/ reboot