Bug report: spo search doesn't show results in text output
Priority
(Urgent) I can't use the CLI
Description
spo search doesn't show results in text output mode. The same query in JSON output mode shows results as returned by the query.
Steps to reproduce
- Configure CLI for interactive run using the setup wizard
-
spo search -q docx> no results -
spo search -q o json> results
Expected results
Results
Actual results
No results
Diagnostics
m365 spo search -q docx --debug
Executing command spo search with options {"options":{"queryText":"docx","debug":true,"output":"text"}}
SPO URL previously retrieved https://2czk3g.sharepoint.com. Returning...
Executing search query 'docx' on site at https://2czk3g.sharepoint.com...
RequestURL: https://2czk3g.sharepoint.com/_api/search/query?querytext='docx'&selectproperties='Title%2COriginalPath'&startrow=0&trimduplicates=false&enablestemming=true
Existing access token eyJ0eXAiOiJ...
Request:
{
"url": "https://2czk3g.sharepoint.com/_api/search/query?querytext='docx'&selectproperties='Title%2COriginalPath'&startrow=0&trimduplicates=false&enablestemming=true",
"method": "get",
"headers": {
"Accept": "application/json;odata=nometadata",
"user-agent": "NONISV|SharePointPnP|CLIMicrosoft365/7.5.0",
"accept-encoding": "gzip, deflate",
"X-ClientService-ClientTag": "M365CLI:7.5.0",
"authorization": "Bearer eyJ0eXAi..."
},
"responseType": "json",
"decompress": true
}
Response:
{
"url": "https://2czk3g.sharepoint.com/_api/search/query?querytext='docx'&selectproperties='Title%2COriginalPath'&startrow=0&trimduplicates=false&enablestemming=true",
"status": 200,
"statusText": "OK",
"headers": {
"cache-control": "private, max-age=0",
"transfer-encoding": "chunked",
"content-type": "application/json;odata=nometadata;streaming=true;charset=utf-8",
"expires": "Sat, 03 Feb 2024 15:37:18 GMT",
"last-modified": "Sun, 18 Feb 2024 15:37:18 GMT",
"vary": "Origin,Accept-Encoding",
"p3p": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
"x-networkstatistics": "0,1051136,0,0,5528566,0,1051136",
"x-sharepointhealthscore": "3",
"x-searchplatform": "Substrate",
"x-searchendpointcount": "1",
"x-searchinternalbackendlatency": "201",
"x-searchinternalrequestid": "0b4e5501-086e-d698-0245-37a511f5cb27",
"x-sp-serverstate": "ReadOnly=0",
"dataserviceversion": "3.0",
"spclientservicerequestduration": "267",
"sprequestduration": "268",
"x-aspnet-version": "4.0.30319",
"x-databoundary": "EU",
"x-1dscollectorurl": "https://eu-mobile.events.data.microsoft.com/OneCollector/1.0/",
"x-ariacollectorurl": "https://eu-mobile.events.data.microsoft.com/Collector/3.0",
"sprequestguid": "a2f00ca1-60c1-8000-41d1-2916678fe7f9",
"request-id": "a2f00ca1-60c1-8000-41d1-2916678fe7f9",
"ms-cv": "oQzwosFgAIBB0SkWZ4/n+Q.0",
"strict-transport-security": "max-age=31536000",
"x-frame-options": "SAMEORIGIN",
"content-security-policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.office365.com *.powerapps.com *.yammer.com engage.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;",
"x-powered-by": "ASP.NET",
"microsoftsharepointteamservices": "16.0.0.24531",
"x-content-type-options": "nosniff",
"x-ms-invokeapp": "1; RequireReadOnly",
"x-cache": "CONFIG_NOCACHE",
"x-msedge-ref": "Ref A: 9FC384929EF74ACF96663CBEE44A5F53 Ref B: AMS04EDGE3511 Ref C: 2024-02-18T15:37:18Z",
"date": "Sun, 18 Feb 2024 15:37:17 GMT"
},
"data": {
"ElapsedTime": 201,
"PrimaryQueryResult": {
"CustomResults": [],
"QueryId": "ee6dedf0-5ec8-4952-9f67-18236e5f2e8b",
"QueryRuleId": "00000000-0000-0000-0000-000000000000",
"RefinementResults": null,
"RelevantResults": {
"GroupTemplateId": null,
"ItemTemplateId": null,
"Properties": [
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Group_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "QueryModification",
"Value": "docx -ContentClass=urn:content-class:SPSPeople",
"ValueType": "Edm.String"
},
{
"Key": "ExecutionTimeMs",
"Value": "0",
"ValueType": "Edm.Int32"
},
{
"Key": "StartRecord",
"Value": "0",
"ValueType": "Edm.Int32"
},
{
"Key": "piPageImpressionBlockType",
"Value": "2",
"ValueType": "Edm.Int32"
},
{
"Key": "IsLastBlockInSubstrate",
"Value": "true",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsFirstBlockInSubstrate",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsFirstPinnedResultBlock",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsLastPinnedResultBlock",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsFirstRankedResultBlock",
"Value": "true",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsLastRankedResultBlock",
"Value": "true",
"ValueType": "Edm.Boolean"
},
{
"Key": "MixedTableOrder",
"Value": "0",
"ValueType": "Edm.Int32"
}
],
"ResultTitle": null,
"ResultTitleUrl": null,
"RowCount": 5,
"Table": {
"Rows": [
{
"Cells": [
{
"Key": "Title",
"Value": "Document",
"ValueType": "Edm.String"
},
{
"Key": "OriginalPath",
"Value": "https://2czk3g.sharepoint.com/Shared Documents/Document.docx",
"ValueType": "Edm.String"
},
{
"Key": "Path",
"Value": "https://2czk3g.sharepoint.com/Shared Documents/Document.docx",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeIdList",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeId",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "piSearchResultId",
"Value": "ARIAǂ0b4e5501-086e-d698-0245-37a511f5cb27ǂ57c8353e-9e99-41a9-b6a6-0ee49380cb7bǂ0b4e5501-086e-d698-0245-37a511f5cb27.1000.1ǂǂG110_SfqeV2_SingleGeo_Forwarded",
"ValueType": "Edm.String"
},
{
"Key": "DocId",
"Value": "286281259306717372",
"ValueType": "Edm.Int64"
},
{
"Key": "Rank",
"Value": "999.7191941",
"ValueType": "Edm.Double"
},
{
"Key": "GeoLocationSource",
"Value": "EUR",
"ValueType": "Edm.String"
},
{
"Key": "SiteId",
"Value": "10402460-01c1-4721-a96e-3c1a66f04108",
"ValueType": "Edm.String"
},
{
"Key": "UniqueId",
"Value": "{5cad1383-b315-4709-ad22-84fb3f77ff44}",
"ValueType": "Edm.String"
},
{
"Key": "WebId",
"Value": "cd605dfd-e6fd-4375-8f5a-6bea3ed5c17c",
"ValueType": "Edm.String"
},
{
"Key": "contentclass",
"Value": "STS_ListItem_DocumentLibrary",
"ValueType": "Edm.String"
},
{
"Key": "IsExternalContent",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "ListId",
"Value": "ae6cd150-ab98-4ff5-ac33-15dc387dd935",
"ValueType": "Edm.String"
},
{
"Key": "PartitionId",
"Value": null,
"ValueType": "Null"
},
{
"Key": "UrlZone",
"Value": "0",
"ValueType": "Edm.Int64"
},
{
"Key": "Culture",
"Value": null,
"ValueType": "Null"
},
{
"Key": "IdentitySiteCollectionId",
"Value": "10402460-01c1-4721-a96e-3c1a66f04108",
"ValueType": "Edm.String"
},
{
"Key": "IdentityWebId",
"Value": "cd605dfd-e6fd-4375-8f5a-6bea3ed5c17c",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListId",
"Value": "ae6cd150-ab98-4ff5-ac33-15dc387dd935",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListItemId",
"Value": "5cad1383-b315-4709-ad22-84fb3f77ff44",
"ValueType": "Edm.String"
}
]
},
{
"Cells": [
{
"Key": "Title",
"Value": "Test",
"ValueType": "Edm.String"
},
{
"Key": "OriginalPath",
"Value": "https://2czk3g-my.sharepoint.com/personal/waldek_2czk3g_onmicrosoft_com/Documents/Test.docx",
"ValueType": "Edm.String"
},
{
"Key": "Path",
"Value": "https://2czk3g-my.sharepoint.com/personal/waldek_2czk3g_onmicrosoft_com/Documents/Test.docx",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeIdList",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeId",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "piSearchResultId",
"Value": "ARIAǂ0b4e5501-086e-d698-0245-37a511f5cb27ǂ57c8353e-9e99-41a9-b6a6-0ee49380cb7bǂ0b4e5501-086e-d698-0245-37a511f5cb27.1000.2ǂǂG110_SfqeV2_SingleGeo_Forwarded",
"ValueType": "Edm.String"
},
{
"Key": "DocId",
"Value": "286281265543438603",
"ValueType": "Edm.Int64"
},
{
"Key": "Rank",
"Value": "998.9263132",
"ValueType": "Edm.Double"
},
{
"Key": "GeoLocationSource",
"Value": "EUR",
"ValueType": "Edm.String"
},
{
"Key": "SiteId",
"Value": "bef60a22-c548-48d9-a9f3-2c553d624e04",
"ValueType": "Edm.String"
},
{
"Key": "UniqueId",
"Value": "{312a32c3-ba20-41b0-8502-e8b995537e10}",
"ValueType": "Edm.String"
},
{
"Key": "WebId",
"Value": "a39a5ac1-1f58-4e5b-8638-2e747d52671c",
"ValueType": "Edm.String"
},
{
"Key": "contentclass",
"Value": "STS_ListItem_MySiteDocumentLibrary",
"ValueType": "Edm.String"
},
{
"Key": "IsExternalContent",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "ListId",
"Value": "36095ddd-c83a-48f3-b43f-db63bd7e58c5",
"ValueType": "Edm.String"
},
{
"Key": "PartitionId",
"Value": null,
"ValueType": "Null"
},
{
"Key": "UrlZone",
"Value": "0",
"ValueType": "Edm.Int64"
},
{
"Key": "Culture",
"Value": null,
"ValueType": "Null"
},
{
"Key": "IdentitySiteCollectionId",
"Value": "bef60a22-c548-48d9-a9f3-2c553d624e04",
"ValueType": "Edm.String"
},
{
"Key": "IdentityWebId",
"Value": "a39a5ac1-1f58-4e5b-8638-2e747d52671c",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListId",
"Value": "36095ddd-c83a-48f3-b43f-db63bd7e58c5",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListItemId",
"Value": "312a32c3-ba20-41b0-8502-e8b995537e10",
"ValueType": "Edm.String"
}
]
},
{
"Cells": [
{
"Key": "Title",
"Value": "Usability Testing Priorities",
"ValueType": "Edm.String"
},
{
"Key": "OriginalPath",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/Usability Testing Priorities.docx",
"ValueType": "Edm.String"
},
{
"Key": "Path",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/Usability Testing Priorities.docx",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeIdList",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeId",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "piSearchResultId",
"Value": "ARIAǂ0b4e5501-086e-d698-0245-37a511f5cb27ǂ57c8353e-9e99-41a9-b6a6-0ee49380cb7bǂ0b4e5501-086e-d698-0245-37a511f5cb27.1000.3ǂǂG110_SfqeV2_SingleGeo_Forwarded",
"ValueType": "Edm.String"
},
{
"Key": "DocId",
"Value": "286281089430379058",
"ValueType": "Edm.Int64"
},
{
"Key": "Rank",
"Value": "997.2459874",
"ValueType": "Edm.Double"
},
{
"Key": "GeoLocationSource",
"Value": "EUR",
"ValueType": "Edm.String"
},
{
"Key": "SiteId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "UniqueId",
"Value": "{7f08cfb0-216d-437c-ada3-b671f9a96af9}",
"ValueType": "Edm.String"
},
{
"Key": "WebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "contentclass",
"Value": "STS_ListItem_DocumentLibrary",
"ValueType": "Edm.String"
},
{
"Key": "IsExternalContent",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "ListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "PartitionId",
"Value": null,
"ValueType": "Null"
},
{
"Key": "UrlZone",
"Value": "0",
"ValueType": "Edm.Int64"
},
{
"Key": "Culture",
"Value": null,
"ValueType": "Null"
},
{
"Key": "IdentitySiteCollectionId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "IdentityWebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListItemId",
"Value": "7f08cfb0-216d-437c-ada3-b671f9a96af9",
"ValueType": "Edm.String"
}
]
},
{
"Cells": [
{
"Key": "Title",
"Value": "XT1050 Marketing Collateral Timelines_V2",
"ValueType": "Edm.String"
},
{
"Key": "OriginalPath",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/XT1050 Marketing Collateral Timelines_V2.docx",
"ValueType": "Edm.String"
},
{
"Key": "Path",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/XT1050 Marketing Collateral Timelines_V2.docx",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeIdList",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeId",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "piSearchResultId",
"Value": "ARIAǂ0b4e5501-086e-d698-0245-37a511f5cb27ǂ57c8353e-9e99-41a9-b6a6-0ee49380cb7bǂ0b4e5501-086e-d698-0245-37a511f5cb27.1000.4ǂǂG110_SfqeV2_SingleGeo_Forwarded",
"ValueType": "Edm.String"
},
{
"Key": "DocId",
"Value": "286281089412309988",
"ValueType": "Edm.Int64"
},
{
"Key": "Rank",
"Value": "997.2279765",
"ValueType": "Edm.Double"
},
{
"Key": "GeoLocationSource",
"Value": "EUR",
"ValueType": "Edm.String"
},
{
"Key": "SiteId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "UniqueId",
"Value": "{0733548e-409d-4259-8902-e47e9162876f}",
"ValueType": "Edm.String"
},
{
"Key": "WebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "contentclass",
"Value": "STS_ListItem_DocumentLibrary",
"ValueType": "Edm.String"
},
{
"Key": "IsExternalContent",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "ListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "PartitionId",
"Value": null,
"ValueType": "Null"
},
{
"Key": "UrlZone",
"Value": "0",
"ValueType": "Edm.Int64"
},
{
"Key": "Culture",
"Value": null,
"ValueType": "Null"
},
{
"Key": "IdentitySiteCollectionId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "IdentityWebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListItemId",
"Value": "0733548e-409d-4259-8902-e47e9162876f",
"ValueType": "Edm.String"
}
]
},
{
"Cells": [
{
"Key": "Title",
"Value": "XT1050 Usability test 2.3",
"ValueType": "Edm.String"
},
{
"Key": "OriginalPath",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/XT1050 Usability test 2.3.docx",
"ValueType": "Edm.String"
},
{
"Key": "Path",
"Value": "https://2czk3g.sharepoint.com/sites/Mark8ProjectTeam/Shared Documents/Design/XT1050 Usability test 2.3.docx",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeIdList",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "ResultTypeId",
"Value": "0",
"ValueType": "Edm.String"
},
{
"Key": "RenderTemplateId",
"Value": "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js",
"ValueType": "Edm.String"
},
{
"Key": "piSearchResultId",
"Value": "ARIAǂ0b4e5501-086e-d698-0245-37a511f5cb27ǂ57c8353e-9e99-41a9-b6a6-0ee49380cb7bǂ0b4e5501-086e-d698-0245-37a511f5cb27.1000.5ǂǂG110_SfqeV2_SingleGeo_Forwarded",
"ValueType": "Edm.String"
},
{
"Key": "DocId",
"Value": "286281089373829988",
"ValueType": "Edm.Int64"
},
{
"Key": "Rank",
"Value": "997.1999421",
"ValueType": "Edm.Double"
},
{
"Key": "GeoLocationSource",
"Value": "EUR",
"ValueType": "Edm.String"
},
{
"Key": "SiteId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "UniqueId",
"Value": "{59309985-f73e-46e2-8adb-08d824cfd0c7}",
"ValueType": "Edm.String"
},
{
"Key": "WebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "contentclass",
"Value": "STS_ListItem_DocumentLibrary",
"ValueType": "Edm.String"
},
{
"Key": "IsExternalContent",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "ListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "PartitionId",
"Value": null,
"ValueType": "Null"
},
{
"Key": "UrlZone",
"Value": "0",
"ValueType": "Edm.Int64"
},
{
"Key": "Culture",
"Value": null,
"ValueType": "Null"
},
{
"Key": "IdentitySiteCollectionId",
"Value": "cf6dc8f2-4106-473a-94c3-279c60e72ad6",
"ValueType": "Edm.String"
},
{
"Key": "IdentityWebId",
"Value": "911a19cb-6e5c-4d4a-a1c6-7b0cee0f1ba9",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListId",
"Value": "8d273ec4-85fe-4c70-bd06-7156ed72f424",
"ValueType": "Edm.String"
},
{
"Key": "IdentityListItemId",
"Value": "59309985-f73e-46e2-8adb-08d824cfd0c7",
"ValueType": "Edm.String"
}
]
}
]
},
"TotalRows": 5,
"TotalRowsIncludingDuplicates": 5
},
"SpecialTermResults": null
},
"Properties": [
{
"Key": "WordBreakerLanguage",
"Value": "en",
"ValueType": "Edm.String"
},
{
"Key": "SourceId",
"Value": "8413cd39-2156-4e00-b54d-11efd9abdb89",
"ValueType": "Edm.String"
},
{
"Key": "HasParseException",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "IsPartial",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "CorrelationId",
"Value": "a2f00ca1-60c1-8000-41d1-2916678fe7f9",
"ValueType": "Edm.Guid"
},
{
"Key": "WasGroupsRestricted",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "RowLimit",
"Value": "10",
"ValueType": "Edm.Int32"
},
{
"Key": "IsMissingUnifiedGroups",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "MultiGeoSearchStatus",
"Value": "Full",
"ValueType": "Edm.String"
},
{
"Key": "WasGroupRestricted",
"Value": "false",
"ValueType": "Edm.Boolean"
},
{
"Key": "EnableInterleaving",
"Value": "true",
"ValueType": "Edm.Boolean"
},
{
"Key": "piPageImpression",
"Value": "1_1_1033",
"ValueType": "Edm.String"
},
{
"Key": "InternalRequestId",
"Value": "0b4e5501-086e-d698-0245-37a511f5cb27",
"ValueType": "Edm.String"
},
{
"Key": "SerializedQuery",
"Value": "<Query Culture=\"en-US\" EnableStemming=\"True\" EnablePhonetic=\"False\" EnableNicknames=\"False\" IgnoreAllNoiseQuery=\"True\" SummaryLength=\"180\" MaxSnippetLength=\"180\" DesiredSnippetLength=\"90\" KeywordInclusion=\"0\" QueryText=\"docx\" QueryTemplate=\"\" TrimDuplicates=\"False\" Site=\"10402460-01c1-4721-a96e-3c1a66f04108\" Web=\"cd605dfd-e6fd-4375-8f5a-6bea3ed5c17c\" KeywordType=\"True\" HiddenConstraints=\"\" />",
"ValueType": "Edm.String"
}
],
"SecondaryQueryResults": [],
"SpellingSuggestion": null,
"TriggeredRules": []
}
}
DONE
Timings:
api: 519.175584ms
core: 12.900166ms
command: 525.209459ms
options: 0.070875ms
total: 540.009041ms
validation: 0.16125ms
CLI for Microsoft 365 version
Latest from main
nodejs version
v20
Operating system (environment)
macOS
Shell
PowerShell
cli doctor
authMode : Browser
cliAadAppId : 31359c7f-bd7e-475c-86db-fdb8c937548e
cliAadAppTenant: common
cliConfig : {"autoOpenLinksInBrowser":true,"copyDeviceCodeToClipboard":true,"output":"text","printErrorsAsPlainText":true,"prompt":true,"showHelpOnFailure":true,"showSpinner":true}
cliEnvironment :
cliVersion : 7.5.0
nodeVersion : v20.11.0
os : {"platform":"darwin","version":"Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112","release":"23.2.0"}
roles : []
scopes : {"https://graph.microsoft.com":["AllSites.FullControl","AppCatalog.ReadWrite.All","AuditLog.Read.All","Bookings.Read.All","Calendars.Read","ChannelMember.ReadWrite.All","ChannelMessage.Read.All","ChannelMessage.Send","ChannelSettings.ReadWrite.All","Chat.Read","Chat.ReadWrite","Directory.AccessAsUser.All","Directory.ReadWrite.All","ExternalConnection.ReadWrite.All","ExternalItem.Read.All","ExternalItem.ReadWrite.All","Files.ReadWrite","Group.ReadWrite.All","IdentityProvider.ReadWrite.All","InformationProtectionPolicy.Read","Mail.Read.Shared","Mail.ReadWrite","Mail.Send","Notes.Read.All","OnlineMeetings.Read","OnlineMeetingTranscript.Read.All","openid","Place.Read.All","Policy.Read.All","profile","RecordsManagement.ReadWrite.All","Reports.Read.All","SecurityEvents.Read.All","ServiceHealth.Read.All","ServiceMessage.Read.All","ServiceMessageViewpoint.Write","Tasks.ReadWrite","Team.Create","TeamMember.ReadWrite.All","TeamsAppInstallation.ReadWriteForUser","TeamSettings.ReadWrite.All","TeamsTab.ReadWrite.All","TermStore.ReadWrite.All","User.Invite.All","User.Read","User.ReadWrite.All","email"],"https://2czk3g.sharepoint.com":["AllSites.FullControl","AppCatalog.ReadWrite.All","AuditLog.Read.All","Bookings.Read.All","Calendars.Read","ChannelMember.ReadWrite.All","ChannelMessage.Read.All","ChannelMessage.Send","ChannelSettings.ReadWrite.All","Chat.Read","Chat.ReadWrite","Directory.AccessAsUser.All","Directory.ReadWrite.All","ExternalConnection.ReadWrite.All","ExternalItem.Read.All","ExternalItem.ReadWrite.All","Files.ReadWrite","Group.ReadWrite.All","IdentityProvider.ReadWrite.All","InformationProtectionPolicy.Read","Mail.Read.Shared","Mail.ReadWrite","Mail.Send","Notes.Read.All","OnlineMeetings.Read","OnlineMeetingTranscript.Read.All","Place.Read.All","Policy.Read.All","RecordsManagement.ReadWrite.All","Reports.Read.All","SecurityEvents.Read.All","ServiceHealth.Read.All","ServiceMessage.Read.All","ServiceMessageViewpoint.Write","Tasks.ReadWrite","Team.Create","TeamMember.ReadWrite.All","TeamsAppInstallation.ReadWriteForUser","TeamSettings.ReadWrite.All","TeamsTab.ReadWrite.All","TermStore.ReadWrite.All","User.Invite.All","User.Read","User.ReadWrite.All"]}
Additional Info
No response
@waldekmastykarz isn't it a bit by design as in text output mode we trim and don't print complex response.
I think we will need to add a condition for this output mode to handle this properly for this command right?
@waldekmastykarz isn't it a bit by design as in
textoutput mode we trim and don't print complex response. I think we will need to add a condition for this output mode to handle this properly for this command right?
Right now, we don't show anything which makes the command useless. If it's not meant to work with text mode, then it should fail with a warning so that it's clear upfront why the output is empty, rather than retrieving the results but not showing anything. That's confusing.