@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
30 lines • 2.15 kB
TypeScript
import { type User } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to call the reprocessLicenseAssignment method.
*/
export interface ReprocessLicenseAssignmentRequestBuilder extends BaseRequestBuilder<ReprocessLicenseAssignmentRequestBuilder> {
/**
* Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<User>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/user-reprocesslicenseassignment?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
/**
* Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const ReprocessLicenseAssignmentRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/reprocessLicenseAssignment";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ReprocessLicenseAssignmentRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map