46
NAME
New-AADApplication
SYNOPSIS
This function creates a Azure Active Directory application.
SYNTAX
New-AADApplication [[-Credential] <PSCredential>] [[-tenantId] <String>] [-appName] <String> [-authorizations]
<String[]> [[-LogFile] <String>] [<CommonParameters>]
DESCRIPTION
This function creates a Azure Active Directory application.
PARAMETERS
-Credential <PSCredential>
Credential (admin profile) used to create the Azure Active Directory application. If absent, a dialog is
displayed in the browser to enter the credentials.
-tenantId <String>
Azure Active Directory Tenant Id of the tenant in which the application has been created. This parameter is
not mandatory. If absent, the tenantId is retrieved automatically after the credentials have been entered in
the dialog.
-appName <String>
Name of the Azure Active Directory application.
-authorizations <String[]>
Authorization type:
- "onedrive" : to access to OneDrive resources
- "signmeeting_ews": to access to MS-Exchange room mailbox resources for SignMeeting MS-Exchange application
- "signmeeting_m365": to access to M365 room mailbox resources for SignMeeting-M365 application
- "m365_room": to access to M365 room mailbox resource for SBL10e m365_room application
- "m365_user": to access to M365 user presence resource for SBL10e m365_user application
-LogFile <String>
Log file path
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
-------------------------- EXAMPLE 1 --------------------------
PS C:\>$result = New-AADApplication -appname "SignMeeting" -authorizations "signmeeting_ews"
A consent request will be sent in 30 seconds in your browser.
You must log into an administrator account of your organization and grant the necessary permissions.
PS C:\>$result
Name Value
---- -----
clientId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
objectId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
spId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
name SignMeeting
tenantId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
clientSecret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Example to create an Azure Active Directory application for SBL10e-M365_room
For example, to create a
SBL10e-M365room (free text) Azure AD application for m365room
, generate the
client Id
, the
tenant Id
and the
client secret
and
store temporarily these values in the
sbl10em365room
variable:
PS > $sbl10e_m365_room = New-AADApplication -appname "SBL10e-M365_room" -authorizations "m365_room"
☛
Don't use an already existing appname else an error is returned.
☛
Don't use space characters in appname else an error is returned.
◬
Clicking on a Powershell window can suspend the command. In this case click again in the window to resume the command.
A login popup is displayed. Enter once your M365 login credentials.
This message is then displayed in a
Powershell
context.
Summary of Contents for SBL10e m365 room
Page 1: ...User manual SBL10e m365_room 1 11 11 002A ...
Page 4: ...4 Part I Description and installation ...
Page 6: ...6 1 1 1 Device dimensions ...
Page 13: ...13 Part II Applicative user interface ...
Page 16: ...16 Part III Administration console user interface ...
Page 32: ...32 Part IV Technical information ...
Page 35: ...35 Part V Contacts ...
Page 37: ...37 Part VI Appendix ...
Page 52: ...52 ...