PrintJob.ReadBasic.All
Allows the application to read the metadata of print jobs without a signed-in user. Does not allow access to print job document content.
Permission Details
Read basic information for print jobs
Allows the application to read the metadata of print jobs without a signed-in user. Does not allow access to print job document content.
fbf67eee-e074-4ef7-b965-ab5ce1c1f689
Read basic information of print jobs
Allows the application to read the metadata of print jobs on behalf of the signed-in user. Does not allow access to print job document content.
04ce8d60-72ce-4867-85cf-6d82f36922f3
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
configuration |
printJobConfiguration |
A group of settings that a printer should use to print a job. |
createdBy |
userIdentity |
Read-only. Nullable. |
createdDateTime |
DateTimeOffset |
The DateTimeOffset when the job was created. Read-only. |
id |
String |
The ID of the print job. Read-only. |
isFetchable |
Edm.Boolean |
If true, document can be fetched by printer. |
redirectedFrom |
Edm.StringNullable |
Contains the source job URL, if the job has been redirected from another printer. |
redirectedTo |
Edm.StringNullable |
Contains the destination job URL, if the job has been redirected to another printer. |
status |
printJobStatus |
The status of the print job. Read-only. |
errorCode |
Int32Nullable |
The error code of the print job. Read-only. |
acknowledgedDateTime |
DateTimeOffsetNullable |
The dateTimeOffset when the job was acknowledged. Read-only. |
documents |
printDocument collection |
|
tasks |
printTask collection |
A list of printTasks that were triggered by this print job. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.printJob",
"id": "String (identifier)",
"createdDateTime": "String (timestamp)",
"status": {
"@odata.type": "microsoft.graph.printJobStatus"
},
"createdBy": {
"@odata.type": "microsoft.graph.userIdentity"
},
"configuration": {
"@odata.type": "microsoft.graph.printJobConfiguration"
},
"redirectedTo": "String",
"redirectedFrom": "String",
"isFetchable": "Boolean"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
documents |
printDocument collection |
Read-only. |
tasks |
printTask collection |
A list of printTasks that were triggered by this print job. |
configuration |
printJobConfiguration |
Related configuration data exposed by this resource. |
status |
printJobStatus |
Related status data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Print.Printers["{printer-id}"].Jobs["{printJob-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let printJob = await client.api('/print/printers/{printerId}/jobs/{printJobId}')
.get();
Import-Module Microsoft.Graph.Devices.CloudPrint
Get-MgPrintPrinterJob -PrinterId $printerId -PrintJobId $printJobId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.print.printers.by_printer_id('printer-id').jobs.by_print_job_id('printJob-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for PrintJob.ReadBasic.All
Grant Admin Consent
Application permissions always require admin consent.