Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Content:

How to renew the client secret

Error Message : ClientSecretCredential authentication failed: A configuration issue is preventing authentication - check the error message from the server for details.

If you receive this error message during the resource connection test, you need to create a new client secret :

Go to your application and click on Certificates & secrets :


  1. Delete the old one:

  2. Generate a new one by clicking on the button:

In graphical mode, you are limited to a maximum of 2 years, as per Microsoft's recommendation. You can use the following command line to extend beyond 2 years (You need to modify the values in bold):

New-AzureADApplicationPasswordCredential -ObjectId YourObjectID -CustomKeyIdentifier Roomz -Value $secret -StartDate (Get-Date) -EndDate (Get-Date).AddYears(5)

  1. Next, make sure to carefully copy the key value and replace it with the old one:

We are using M365 and would like to have a connection to ROOMZ with modern authentication (MFA).

Share e resource with external persons (M365)

If you want to share one or more resources with an external person you can create an iCal link and allow external bookings:

  • Create an iCal link:
    To publish a room resource by iCal you need to have access to the Exchange online PowerShell module

    You can use the following command to publish the resource for one year:

    Adjust the identity with the Mail of the room.

    Connect-ExchangeOnline
    Set-MailboxCalendarFolder -Identity room@myorganization.com:\calendar -PublishEnabled $true -DetailLevel Full -PublishDateRangeTo OneYear -PublishDateRangeFrom OneYear

    To get the link of the share, you need the following command:

    Get-MailboxCalendarFolder -Identity room@myorganization.com:\calendar
  • Allow bookings from outside:
    For all resources:

    Get-Mailbox| where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Set-CalendarProcessing -ProcessExternalMeetingMessages $true

    Only for one resource:

    Set-CalendarProcessing -Identity room@myorganization.com -ProcessExternalMeetingMessages $true

Once you have done this, you can share the iCal link with an external person. The external people can then invite the meeting room as attendee. The room will then accept the booking (if it is free) and the ROOMZ display will also show the appointment correctly.

Please note that if you enter the meeting in the shared calendar, the room will not be booked. The room must be invited to the meeting as a participant. Otherwise, the meeting is only entered in Outlook

  • No labels