fr/Microsoft.Open.Azure.AD.CommonLibrary.dll-Help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml">
 
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Connect-AzureAD</command:name>
<command:verb>Connect</command:verb>
<command:noun>AzureAD</command:noun>
<maml:description><maml:para>Connects with an authenticated account to use Active Directory cmdlet requests.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>The Connect-AzureAD cmdlet connects an authenticated account to use for Azure Active Directory cmdlet requests.
</maml:para>
<maml:para>You can use this authenticated account only with Azure Active Directory cmdlets.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Connect-AzureAD</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AadAccessToken</maml:name>
<maml:Description><maml:para>Spécifie un jeton d'accès Azure Active Directory Graph.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AccountId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un compte. Vous devez spécifier l'UPN de l'utilisateur lors de l'authentification avec un jeton d'accès utilisateur.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AzureEnvironmentName</maml:name>
<maml:Description><maml:para>Spécifie le nom de l'environnement Azure. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- AzureCloud
</maml:para>
<maml:para>- AzureChinaCloud
</maml:para>
<maml:para>- AzureUSGovernment
</maml:para>
<maml:para>- AzureGermanyCloud
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est AzureCloud.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">EnvironmentName</command:parameterValue>
<dev:type><maml:name>EnvironmentName</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>LogLevel</maml:name>
<maml:Description><maml:para>Spécifie le niveau de consignation. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- Informations
</maml:para>
<maml:para>- Erreur
</maml:para>
<maml:para>- Avertissement
</maml:para>
<maml:para>- Aucun(e)
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est Info.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">LogLevel</command:parameterValue>
<dev:type><maml:name>LogLevel</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>MsAccessToken</maml:name>
<maml:Description><maml:para>Spécifie un jeton d'accès Microsoft Graph.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="Domain"><maml:name>TenantId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un locataire.
</maml:para>
<maml:para>Si vous ne spécifiez pas ce paramètre, le compte est authentifié avec le locataire de base.
</maml:para>
<maml:para>Vous devez spécifier le paramètre TenantId pour vous authentifier en tant que principal du service ou si vous utiliser un compte Microsoft.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem><maml:name>Connect-AzureAD</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>ApplicationId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'application du principal de service.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AzureEnvironmentName</maml:name>
<maml:Description><maml:para>Spécifie le nom de l'environnement Azure. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- AzureCloud
</maml:para>
<maml:para>- AzureChinaCloud
</maml:para>
<maml:para>- AzureUSGovernment
</maml:para>
<maml:para>- AzureGermanyCloud
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est AzureCloud.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">EnvironmentName</command:parameterValue>
<dev:type><maml:name>EnvironmentName</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>CertificateThumbprint</maml:name>
<maml:Description><maml:para>Spécifie l'empreinte de certificat d'un certificat X.509 de clé publique numérique d'un compte d'utilisateur qui est autorisé à exécuter cette action.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>LogLevel</maml:name>
<maml:Description><maml:para>Spécifie le niveau de consignation. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- Informations
</maml:para>
<maml:para>- Erreur
</maml:para>
<maml:para>- Avertissement
</maml:para>
<maml:para>- Aucun(e)
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est Info.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">LogLevel</command:parameterValue>
<dev:type><maml:name>LogLevel</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="Domain"><maml:name>TenantId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un locataire.
</maml:para>
<maml:para>Si vous ne spécifiez pas ce paramètre, le compte est authentifié avec le locataire de base.
</maml:para>
<maml:para>Vous devez spécifier le paramètre TenantId pour vous authentifier en tant que principal du service ou si vous utiliser un compte Microsoft.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem><maml:name>Connect-AzureAD</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AzureEnvironmentName</maml:name>
<maml:Description><maml:para>Spécifie le nom de l'environnement Azure. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- AzureCloud
</maml:para>
<maml:para>- AzureChinaCloud
</maml:para>
<maml:para>- AzureUSGovernment
</maml:para>
<maml:para>- AzureGermanyCloud
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est AzureCloud.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">EnvironmentName</command:parameterValue>
<dev:type><maml:name>EnvironmentName</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Credential</maml:name>
<maml:Description><maml:para>Spécifie un objet PSCredential. Pour plus d'informations sur l'objet PSCredential, tapez Get-Help Get-Credential.
</maml:para>
<maml:para>L'objet PSCredential fournit l'ID utilisateur et le mot de passe pour les informations d'identification ID d'organisation.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
<dev:type><maml:name>PSCredential</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>LogLevel</maml:name>
<maml:Description><maml:para>Spécifie le niveau de consignation. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- Informations
</maml:para>
<maml:para>- Erreur
</maml:para>
<maml:para>- Avertissement
</maml:para>
<maml:para>- Aucun(e)
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est Info.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">LogLevel</command:parameterValue>
<dev:type><maml:name>LogLevel</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="Domain"><maml:name>TenantId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un locataire.
</maml:para>
<maml:para>Si vous ne spécifiez pas ce paramètre, le compte est authentifié avec le locataire de base.
</maml:para>
<maml:para>Vous devez spécifier le paramètre TenantId pour vous authentifier en tant que principal du service ou si vous utiliser un compte Microsoft.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AadAccessToken</maml:name>
<maml:Description><maml:para>Spécifie un jeton d'accès Azure Active Directory Graph.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AccountId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un compte. Vous devez spécifier l'UPN de l'utilisateur lors de l'authentification avec un jeton d'accès utilisateur.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>ApplicationId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'application du principal de service.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>AzureEnvironmentName</maml:name>
<maml:Description><maml:para>Spécifie le nom de l'environnement Azure. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- AzureCloud
</maml:para>
<maml:para>- AzureChinaCloud
</maml:para>
<maml:para>- AzureUSGovernment
</maml:para>
<maml:para>- AzureGermanyCloud
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est AzureCloud.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">EnvironmentName</command:parameterValue>
<dev:type><maml:name>EnvironmentName</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>CertificateThumbprint</maml:name>
<maml:Description><maml:para>Spécifie l'empreinte de certificat d'un certificat X.509 de clé publique numérique d'un compte d'utilisateur qui est autorisé à exécuter cette action.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Credential</maml:name>
<maml:Description><maml:para>Spécifie un objet PSCredential. Pour plus d'informations sur l'objet PSCredential, tapez Get-Help Get-Credential.
</maml:para>
<maml:para>L'objet PSCredential fournit l'ID utilisateur et le mot de passe pour les informations d'identification ID d'organisation.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
<dev:type><maml:name>PSCredential</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>LogLevel</maml:name>
<maml:Description><maml:para>Spécifie le niveau de consignation. Les valeurs autorisées pour ce paramètre sont :
</maml:para>
<maml:para>- Informations
</maml:para>
<maml:para>- Erreur
</maml:para>
<maml:para>- Avertissement
</maml:para>
<maml:para>- Aucun(e)
</maml:para>
<maml:para>
</maml:para>
<maml:para>La valeur par défaut est Info.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">LogLevel</command:parameterValue>
<dev:type><maml:name>LogLevel</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>MsAccessToken</maml:name>
<maml:Description><maml:para>Spécifie un jeton d'accès Microsoft Graph.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="Domain"><maml:name>TenantId</maml:name>
<maml:Description><maml:para>Spécifie l'ID d'un locataire.
</maml:para>
<maml:para>Si vous ne spécifiez pas ce paramètre, le compte est authentifié avec le locataire de base.
</maml:para>
<maml:para>Vous devez spécifier le paramètre TenantId pour vous authentifier en tant que principal du service ou si vous utiliser un compte Microsoft.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>Example 1: Connect a PowerShell session to a tenant</maml:title>
<dev:code>PS C:\&gt; Connect-AzureAD -Confirm</dev:code>
<dev:remarks><maml:para>This command connects the current PowerShell session to an Azure Active Directory tenant. The command prompts you for a username and password for the tenant you want to connect to. The Confirm parameter prompts you for confirmation.
</maml:para>
<maml:para>If multi-factor authentication is enabled for your credentials, you must log in using the interactive option or use service principal authentication.
</maml:para>
</dev:remarks>
</command:example>
<command:example><maml:title>Example 2: Connect a session using a variable</maml:title>
<dev:code>PS C:\&gt; $Credential = Get-Credential
PS C:\&gt; Connect-AzureAD -Credential $Credential</dev:code>
<dev:remarks><maml:para>The first command gets the user credentials, and then stores them in the $Credential variable.
</maml:para>
<maml:para>The second command connects the current PowerShell session using the credentials in $Credential.
</maml:para>
<maml:para>This account authenticates with Azure Active Directory using organizational ID credentials. You cannot use multi-factor authentication or Microsoft account credentials to run Azure Active Directory cmdlets with this account.
</maml:para>
</dev:remarks>
</command:example>
<command:example><maml:title>Example 3: Connect a session as a service principal</maml:title>
<dev:code># Login to Azure AD PowerShell With Admin Account
Connect-AzureAD
 
# Create the self signed cert
$currentDate = Get-Date
$endDate = $currentDate.AddYears(1)
$notAfter = $endDate.AddYears(1)
$pwd = "&lt;password&gt;"
$thumb = (New-SelfSignedCertificate -CertStoreLocation cert:\localmachine\my -DnsName com.foo.bar -KeyExportPolicy Exportable -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -NotAfter $notAfter).Thumbprint
$pwd = ConvertTo-SecureString -String $pwd -Force -AsPlainText
Export-PfxCertificate -cert "cert:\localmachine\my\$thumb" -FilePath c:\temp\examplecert.pfx -Password $pwd
 
# Load the certificate
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate("C:\temp\examplecert.pfx", $pwd)
$keyValue = [System.Convert]::ToBase64String($cert.GetRawCertData())
 
 
# Create the Azure Active Directory Application
$application = New-AzureADApplication -DisplayName "test123" -IdentifierUris "https://test123"
New-AzureADApplicationKeyCredential -ObjectId $application.ObjectId -CustomKeyIdentifier "Test123" -StartDate $currentDate -EndDate $endDate -Type AsymmetricX509Cert -Usage Verify -Value $keyValue
 
# Create the Service Principal and connect it to the Application
$sp=New-AzureADServicePrincipal -AppId $application.AppId
 
# Give the Service Principal Reader access to the current tenant (Get-AzureADDirectoryRole)
Add-AzureADDirectoryRoleMember -ObjectId 5997d714-c3b5-4d5b-9973-ec2f38fd49d5 -RefObjectId $sp.ObjectId
 
# Get Tenant Detail
$tenant=Get-AzureADTenantDetail
# Now you can login to Azure PowerShell with your Service Principal and Certificate
Connect-AzureAD -TenantId $tenant.ObjectId -ApplicationId $sp.AppId -CertificateThumbprint $thumb</dev:code>
<dev:remarks><maml:para>This command authenticates the user to Azure Active Directory as a service principal.
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>Disconnet-AzureAD</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Disconnect-AzureAD</command:name>
<command:verb>Disconnect</command:verb>
<command:noun>AzureAD</command:noun>
<maml:description><maml:para>Disconnects the current session from an Azure Active Directory tenant.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>The Disconnect-AzureAD cmdlet disconnects the current session from an Azure Active Directory tenant.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Disconnect-AzureAD</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande. Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée. Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"><maml:name>InformationAction</maml:name>
<maml:Description><maml:para>Spécifie comment cette applet de commande répond à un événement d'information. Les valeurs autorisées pour ce paramètre sont\x00a0:
</maml:para>
<maml:para>- Continuer
</maml:para>
<maml:para>- Ignorer
</maml:para>
<maml:para>- Demander
</maml:para>
<maml:para>- SilentlyContinue
</maml:para>
<maml:para>- Arrêter
</maml:para>
<maml:para>- Interrompre
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue>
<dev:type><maml:name>ActionPreference</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"><maml:name>InformationVariable</maml:name>
<maml:Description><maml:para>Spécifie une variable dans laquelle stocker un message d'événement d'information.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
<maml:Description><maml:para>Vous demande de confirmer avant l'exécution de l'applet de commande. Vous demande de confirmer avant l'exécution de l'applet de commande.
</maml:para>
</maml:Description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"><maml:name>WhatIf</maml:name>
<maml:Description><maml:para>Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée. Montre ce qui se passe en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
</maml:para>
</maml:Description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type><maml:name>SwitchParameter</maml:name>
<maml:uri/></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>Example 1: Disconnect your session from a tenant</maml:title>
<dev:code>PS C:\&gt; Disconnect-AzureAD</dev:code>
<dev:remarks><maml:para>This command disconnects your session from a tenant.
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>Connect-AzureAD</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
</helpItems>