GoBright Desk & Parking Integrated with M365/EntraID/AzureAD

The Desk or Parking Integration with M365 is a new addition that allows us to have bookable desks or parking spaces in GoBright from the M365 GoBright Outlook Add-In or Teams Plugin.

Step 1  GoBright Integration with M365/EntraID/AzureAD

In order for you to be able to integrate the Desk/Parking with your M365 tenant, you first need to integrate the GoBright Calendar Application with EntraID/AzureAD as shown in Step 2.1 of the following article.

Step 2 Creating the bookable Desks/Parkings in Exchange Online

To create the bookable objects, our suggested method is to use PowerShell and our example script to create the Desks/Parkings.

We suggest PowerShell rather than creating them in Exchange Online as Exchange Online doesn't have the possibility to create the specific type of resource for our need which is -Workspace.

From Exchange Online you can create only a -Room or -Equipment resource which then you will have to convert via PowerShell to the needed -Workspace type.

To create the bookable desks/parkings follow these steps:

  • Open PowerShell ISE with Admin Rights and execute the following to Connect to Exchange Online:
Connect-ExchangeOnline -UserPrincipalName admin@yourdomainhere.com
  • Paste the following lines on the Empty white canvas of PowerShell as you would need to modify a couple of parameters to your specifics:

for (($i = 1); $i -le 12; $i++) {
    $identifier = "Desk" + $i
    $emailAddress = $identifier + "@yourdomainhere.com"
    $calendar = $emailAddress + ":\Calendar"

    $identifier

    New-Mailbox -EnableRoomMailboxAccount $true -Room -MicrosoftOnlineServicesID $emailAddress -Name $identifier -DisplayName $identifier -RoomMailboxPassword (ConvertTo-SecureString -String Welkom123 -AsPlainText -Force) | Set-Mailbox -Type Workspace -ResourceCapacity 1

    Set-MailboxFolderPermission -Identity $calendar -User Default -AccessRights LimitedDetails
    Set-CalendarProcessing -Identity $emailAddress -EnforceCapacity $true -AutomateProcessing AutoAccept -DeleteSubject $False -DeleteComments $False -AddOrganizerToSubject $False -RemovePrivateProperty $False
    #Add-DistributionGroupMember -Identity GoBrightAccesslist@yourdomainhere.com -Member $emailAddress
}
  • You will need to modify the first part, specifically the 1 and the 12 of line (($i = 1); $i -le 12; $i++), this can be modified by how many Desks/Parkings you want to create meaning 1 is the start and 12 is the end which means that it will create 12 objects.
  • You will need to modify the "Desk" part of the $identifier = "Desk" + $i line, which will indicate your object naming convention or for Example: Desk, Parking, Standing Desk, EV Parking.
  • You will need to add your domain that the Object will use in the line $emailAddress = $identifier + "@yourdomainhere.com"
  • Add a unique password for the objects, this is needed when a mailbox with enabled mailbox is created.
  • All the other values are needed for proper behaviour of the Desks/Parkings
  • The last part of the script which is commented is very important, but optional.
    It depends whether you have an application access policy (Step 3 of the following article) which restricts the Applications access over the members of a specific mail enabled security group.
    In the case that you have the Integration restricted, or it is the first time, and you want to restrict the Application to have access only over the rooms or bookable objects (check Step 3), you will need the last part of the script as well.
    Add-DistributionGroupMember -Identity GoBrightAccesslist@yourdomainhere.com -Member $emailAddress 
    Here you only need to add the Mail Enabled Security Group you created for the restriction purpose and remove the # if you need to execute it.

After you modify the script to your liking, you can Run the modified part, and the resources will be created in Exchange Online.

2025-02-26 14_14_30-Exchange admin center and 13 more pages - Work - Microsoft​ Edge.png

Step 3 Add/Synchronize the created Desks/Parkings in GoBright

**Please Note:

Desks/Parkings that are created in Exchange may need up to 24hrs to be synced to GoBright.

When using the Synchronize Desks/Parking Spaces button, all the desks and parking spaces will show no matter if you are tryng to sync desks or parkings.

After the Desks or Parkings were created by the script, you can proceed with adding them to the GoBright portal.

In GoBright, you can either add the created Integrated Desks/Parking to an already created objects in GoBright or create new ones.

  • To add them to already created Desks or Parkings, you will need to go to GoBright, to Settings, Work or Park. Open the Desk/Parking you need to modify, go to the part with Integration, select the M365 Integration and write the email of the Desk/Parking you created with the script.
  • To add new Desks/Parking is suggested to use the Synchronize Desks/Synchronize Parking spaces button that will pull all the created objects with the script to GoBright. 
  • Or you can press the Add button which means that you need to create each Desk/Parking one by one.

The button can be found when you go to Settings > Work/Park.

When the button is pressed, a Fetch action is triggered from GoBright to the tenant, and it searches for all the created Desks/Parkings and will show them on the list.

You will need to select the Profile of the Desks/Parkings, the Location where you want to create them and the Time Zone if needed to be different.

Select the Desks/Parking you want to add, press Apply, and they will be created/added to GoBright.

 

After they are successfully created in GoBright, you will be able to book them from the GoBright Outlook Add-In or Teams/M365/Outlook plugin application.

 

 

 

0 out of 0 found this helpful