Import-NAVMembershipEntitlement

Imports the license entitlement data for a membership association.

Syntax

Import-NAVMembershipEntitlement
      [-Path] <String>
      [[-Type] <String>]
      -Id <String>
      -Name <String>
      -EntitlementSetId <String>
      -EntitlementSetName <String>
      [-Evaluation]
      [-ServerInstance] <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Import license entitlement data for a membership association.

Examples

EXAMPLE 1

Import-NAVAzureADEntitlement -Path C:\License\ADPlanEntitlement.csv -Type 'Azure AD Plan' -Id '0000-0001' -Name 'My Service Plan' -EntitlementSetId 'MyPlanEntitlement' -EntitlementSetName 'Entitlements for My Service Plan' -ServerInstance 'DynamicsNAV'

This example imports an Azure AD entitlement of the type 'Azure AD Plan' to the entitlement set 'Entitlements for My Service Plan'.

Required Parameters

-EntitlementSetId

Specifies the ID of the entitlement set in which to load the entitlements.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-EntitlementSetName

Specifies the name of the entitlement set in which to load the entitlements.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Id

Specifies the ID of the membership.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the membership.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Path

Specifies the folder path and file name to the entitlement package file. These files typically have a .csv extension.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ServerInstance

Specifies the name of a Dynamics NAV Server instance, for example, DynamicsNAV or myinstance. You can specify either the full name of an instance, such as MicrosoftDynamicsNavServer$myinstance or the short name such as myinstance. Include the name in single-quotes.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Evaluation

Specifies the entitlement to be for evaluation purposes, which means it has limited use and is not a paid entitlement.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Type

Specifies the membership type., such as 'Azure AD Plan' or 'Azure AD Role'.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False