ProductId and GUID

Siv Iren Andersen 1 Reputation point
2021-10-22T08:56:05.69+00:00

Hi, I would like to use Power Shell Management Shell.
I need to use the ProductID og GUID for some commands. How do i find this information for out Microsoft 365 or SharePoint online?
It is for use in troubleshooting some issues we have with SharePoitn Online.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,866 Reputation points
    2021-10-25T02:34:21.573+00:00

    Hi @Siv Iren Andersen ,

    To get the ProductID of an installed application, you can go to the App Catalog site and find it in Apps for SahrePoint library.
    143157-image.png
    Or use the cmdlet Get-SPOAppInfo. For more details: Get-SPOAppInfo.
    143244-image.png

    To get the GUID, whose GUID you want? A site, a list, a feature or anything else? To get the guid of a list/library, open the SharePoint list using the browser, then go to the list settings -> copy the URL from the browser and put it somewhere in the notepad

    https://contoso.sharepoint.com/sites/sitename/_layouts/15/listedit.aspx?List=%7Bccaa6739-0451-4e5d-a32d-e2b3a1eaa864%7D  
    

    -> Now notice whatever present after List=%7Bccaa6739-0451-4e5d-a32d-e2b3a1eaa864%7D
    ->

    • Change “%7B” to “{“
    • Change “%7D” to “}”

    Now the ID should look like this:

    {ccaa6739-0451-4e5d-a32d-e2b3a1eaa864}  
    

    To get the GUID of a site, take this article as a reference: How to find GUIDs of SharePoint sites.
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    If you want the GUID of something else, comment below and I will follow up.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.