UploadToken Method in Class SMS_MDMAppleVppToken
The UploadToken
Windows Management Instrumentation (WMI) class method, in Configuration Manager, uploads an Apple Volume Purchase Program (VPP) token to Microsoft Intune.
Syntax
sint32 UploadToken(
String TokenID,
String VppToken,
String OrganizationName,
String ExpirationDate
);
Parameters
TokenID
Data type: String
Qualifiers: [in]
The ID of the Apple VPP token.
VppToken
Data type: String
Qualifiers: [in]
Name of the token.
OrganizationName
Data type: String
Qualifiers: [in]
Organization name for the token.
ExpirationDate
Data type: String
Qualifiers: [in]
Expiration date of the token.
Return Values
An SInt32
data type that is 0 to indicate success or non-zero to indicate failure.
For more information about handling returned errors, see About Configuration Manager Errors.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for