Share via


New-MgBetaDeviceAppManagementMobileApp

Create new navigation property to mobileApps for deviceAppManagement

Note

To view the v1.0 release of this cmdlet, view New-MgDeviceAppManagementMobileApp

Syntax

CreateExpanded (Default)

New-MgBetaDeviceAppManagementMobileApp
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-Assignments <IMicrosoftGraphMobileAppAssignment[]>]
    [-Categories <IMicrosoftGraphMobileAppCategory[]>]
    [-Description <String>]
    [-Developer <String>]
    [-DisplayName <String>]
    [-Id <String>]
    [-InformationUrl <String>]
    [-IsFeatured]
    [-LargeIcon <IMicrosoftGraphMimeContent>]
    [-Notes <String>]
    [-Owner <String>]
    [-PrivacyInformationUrl <String>]
    [-Publisher <String>]
    [-PublishingState <MobileAppPublishingState>]
    [-Relationships <IMicrosoftGraphMobileAppRelationship[]>]
    [-RoleScopeTagIds <String[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaDeviceAppManagementMobileApp
    -BodyParameter <IMicrosoftGraphMobileApp>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create new navigation property to mobileApps for deviceAppManagement

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) DeviceManagementApps.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application DeviceManagementApps.ReadWrite.All,

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Assignments

The list of group assignments for this mobile app. To construct, see NOTES section for ASSIGNMENTS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphMobileAppAssignment[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

An abstract class containing the base properties for Intune mobile apps. Note: Listing mobile apps with `$expand=assignments` has been deprecated. Instead get the list of apps without the `$expand` query on `assignments`. Then, perform the expansion on individual applications. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphMobileApp
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Categories

The list of categories for this app. To construct, see NOTES section for CATEGORIES properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphMobileAppCategory[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

The description of the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Developer

The developer of the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

The admin provided or imported title of the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:IDictionary
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InformationUrl

The more information Url.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsFeatured

The value indicating whether the app is marked as featured by the admin.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LargeIcon

Contains properties for a generic mime content. To construct, see NOTES section for LARGEICON properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphMimeContent
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Notes

Notes for the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Owner

The owner of the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PrivacyInformationUrl

The privacy statement Url.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Publisher

The publisher of the app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PublishingState

Indicates the publishing state of an app.

Parameter properties

Type:MobileAppPublishingState
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Relationships

List of relationships for this mobile app. To construct, see NOTES section for RELATIONSHIPS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphMobileAppRelationship[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RoleScopeTagIds

List of scope tag ids for this mobile app.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphMobileApp

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphMobileApp

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

ASSIGNMENTS <IMicrosoftGraphMobileAppAssignment- []>: The list of group assignments for this mobile app.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Intent <InstallIntent?>]: Possible values for the install intent chosen by the admin.
  • [Settings <IMicrosoftGraphMobileAppAssignmentSettings>]: Abstract class to contain properties used to assign a mobile app to a group.
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Source <DeviceAndAppManagementAssignmentSource?>]: Represents source of assignment.
  • [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets.
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DeviceAndAppManagementAssignmentFilterId <String>]: The ID of the filter for the target assignment.
    • [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter.

BODYPARAMETER <IMicrosoftGraphMobileApp>: An abstract class containing the base properties for Intune mobile apps. Note: Listing mobile apps with `$expand=assignments` has been deprecated. Instead get the list of apps without the `$expand` query on `assignments`. Then, perform the expansion on individual applications.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Assignments <IMicrosoftGraphMobileAppAssignment- []>]: The list of group assignments for this mobile app.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Intent <InstallIntent?>]: Possible values for the install intent chosen by the admin.
    • [Settings <IMicrosoftGraphMobileAppAssignmentSettings>]: Abstract class to contain properties used to assign a mobile app to a group.
      • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Source <DeviceAndAppManagementAssignmentSource?>]: Represents source of assignment.
    • [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets.
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DeviceAndAppManagementAssignmentFilterId <String>]: The ID of the filter for the target assignment.
      • [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter.
  • [Categories <IMicrosoftGraphMobileAppCategory- []>]: The list of categories for this app.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DisplayName <String>]: The name of the app category.
  • [Description <String>]: The description of the app.
  • [Developer <String>]: The developer of the app.
  • [DisplayName <String>]: The admin provided or imported title of the app.
  • [InformationUrl <String>]: The more information Url.
  • [IsFeatured <Boolean?>]: The value indicating whether the app is marked as featured by the admin.
  • [LargeIcon <IMicrosoftGraphMimeContent>]: Contains properties for a generic mime content.
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Type <String>]: Indicates the content mime type.
    • [Value <Byte- []>]: The byte array that contains the actual content.
  • [Notes <String>]: Notes for the app.
  • [Owner <String>]: The owner of the app.
  • [PrivacyInformationUrl <String>]: The privacy statement Url.
  • [Publisher <String>]: The publisher of the app.
  • [PublishingState <MobileAppPublishingState?>]: Indicates the publishing state of an app.
  • [Relationships <IMicrosoftGraphMobileAppRelationship- []>]: List of relationships for this mobile app.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [TargetId <String>]: The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy.
    • [TargetType <MobileAppRelationshipType?>]: Indicates whether the target of a relationship is the parent or the child in the relationship.
  • [RoleScopeTagIds <String- []>]: List of scope tag ids for this mobile app.

CATEGORIES <IMicrosoftGraphMobileAppCategory- []>: The list of categories for this app.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DisplayName <String>]: The name of the app category.

LARGEICON <IMicrosoftGraphMimeContent>: Contains properties for a generic mime content.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Type <String>]: Indicates the content mime type.
  • [Value <Byte- []>]: The byte array that contains the actual content.

RELATIONSHIPS <IMicrosoftGraphMobileAppRelationship- []>: List of relationships for this mobile app.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [TargetId <String>]: The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy.
  • [TargetType <MobileAppRelationshipType?>]: Indicates whether the target of a relationship is the parent or the child in the relationship.