developer
7762 TopicsSite Level retention policy Vs Content type level retention policy
Inside the "Data Life Cycle management" we can define a retention policy that get applied to the whole site collection, as follow:- Also at the content type level inside our lists and libraries we can apply a retention policy, as follow:- so if the site has a retention policy applied from the "Data Life Cycle management" and we also have a retention policy applied to the content type.. which one will get applied to the underlying documents and lists and why? the one at the site level or the one at the content type level? Thanks48Views0likes1CommentHow approves or users can see all the pending approval requests?
We have 10++ sites and on some lists and libraries, inside those sites we define content approval at the list/library level:- Now the users are bit confused, on how they can access those approval requests? is there a screen they can access to see all those pending approval requests? either for all sites or the current site? as currently most of the items and files are pending approval and no one is taking action on them Thanks108Views0likes1CommentQuery Regarding Duplicate Message IDs from Microsoft Graph API
Hello Microsoft Support Team, I am currently using the Microsoft Graph API to fetch email messages from the inbox of a my support email in my PHP application. However, I am encountering an issue where the API returns duplicate message IDs for emails. This is causing problems as emails with the same id are being processed multiple times, which results in duplicate ticket creation in my CRM system. To avoid this, I am currently checking and skipping duplicate IDs manually in my application. However, I would like to understand the root cause of these duplicates and whether there is an official recommendation or best practice to handle such cases effectively. Here are some additional details: API Endpoint: GET graph.microsoft.com/beta/users/$userEmailEncoded/mailFolders/Inbox/messages?\$top=20&\$orderby=receivedDateTime%20desc Issue: Duplicate message IDs (id) returned for the same email. Current Handling: I am skipping already processed emails using a tracking for message IDs to prevent duplicate ticket creation. Additionally, I have a few more queries regarding the use of internetMessageId and fetching attachments: Problem with internetMessageId: When I use internetMessageId, the internetMessageId of a replied message returns null. How can I use this ID effectively to manage or track message threads and replies? Attachments with internetMessageId: Is it possible to fetch attachments for a message using the internetMessageId? I am trying to retrieve attachments for a specific email using this ID, but I am not sure how to do this efficiently. Could you please advise on the following: Is there a recommended way to handle or filter out duplicate emails when fetching email data from the Graph API? Is there any mechanism in the API to ensure unique messages, especially when calling this endpoint frequently? How can I properly use internetMessageId for tracking message threads and replies, and why is it returning null for replied messages? Can I retrieve attachments using internetMessageId or is there another method for doing so? I would greatly appreciate any guidance or suggestions you can provide. Thank you for your time and assistance. Best regards, Krishna Adroja email address removed for privacy reasons33Views1like1CommentGraph API Issue to Search and GetContent from sharepoint
Hello, I’m using MS Graph to integrate an application with SharePoint. I’ve already implemented all the necessary requirements to query files, create folders, upload files, and download them. However, I’m facing an issue and have tried different ways to resolve it, unfortunately without success. When I upload a file, it completes successfully—confirmed both by the API response and by visually checking SharePoint. However, when I query the file using the Search API (`https://graph.microsoft.com/v1.0/drives/" + IdDirectory + "/search(q='{" + FileName + ".pdf}')`), the response is empty. In some cases, the expected result does appear, but only after several minutes (around 15 to 20 minutes). While debugging my application, I’ve confirmed that the search parameters are correct. Has anyone else experienced this? And if so, was there a solution?6Views0likes0CommentsAzure Marketplace - Could not Create marketplace item
I am trying to create a marketplace offering on Azure. After successfully going through the publishing process, when I click on my offering I just see this: The "Preview" works fine though. I uploaded an app icon which shows in the preview, so not really sure what Gallery item it's asking for.Solved67Views1like3CommentsHow to automatically login and refresh a spreadsheet using a plug-in?
Hi. I have a requirement to automatically refresh a spreadsheet's data. I'm an Excel novice and have no idea how to do this automatically. To refresh the data in a manual fashion, I perform the following steps: 1) Open the Excel file. 2) Click on the iLEVEL menu option (it's on the top amongst other menu options such as 'Data', 'Review', Automate', etc..). This will present an iLEVEL login icon. Click on this icon and then enter my email address and password. In fact, once I've entered my work email, it uses SSO to gain access instead of entering a password. I do have a password should I need it (needs to be entered somewhere). 3) On the toolbar ribbon, under the iLEVEL menu option, there is the 'Refresh All' option. I click on this, wait a few minutes, and the spreadsheet has its data refreshed. iLEVEL is a third-party software solution. What I need to do is to achieve the above result automatically. At, say, 3am each morning, I would like automatically refresh the data. So there is the need to not only automatically login and refresh the data, but also to schedule the data refresh. The updated spreadsheet will then act as the data source for our reporting. In case it's asked, at this time, we cannot look to hook into the view/table that feeds this spreadsheet. Therefore, the spreadsheet is the endpoint. I will investigate this but if you are aware if this can be done or not, and point me in the right direction, it will be appreciated. I'm wondering if Power Query, or something similar, could achieve this. Thanks.38Views0likes2CommentsHow to automate a login and refresh of a spreadsheet via an Excel plug-in?
Hi. I have a requirement to automatically refresh a spreadsheet's data. I'm an Excel novice and have no idea how to do this automatically. To refresh the data in a manual fashion, I perform the following steps: 1) Open the Excel file. 2) Click on the iLEVEL menu option (it's on the top amongst other menu options such as 'Data', 'Review', Automate', etc..). This will present an iLEVEL login icon. Click on this icon and then enter my email address and password. In fact, once I've entered my work email, it uses SSO to gain access instead of entering a password. I do have a password should I need it (needs to be entered somewhere). 3) On the toolbar ribbon, under the iLEVEL menu option, there is the 'Refresh All' option. I click on this, wait a few minutes, and the spreadsheet has its data refreshed. iLEVEL is a third-party software solution. What I need to do is to achieve the above result automatically. At, say, 3am each morning, I would like automatically refresh the data. The updated spreadsheet will then act as the data source for our reporting. In case it's asked, at this time, we cannot look to hook into the view/table that feeds this spreadsheet. Therefore, the spreadsheet is the endpoint. I will investigate this but if you are aware if this can be done or not, and point me in the right direction, it will be appreciated. I'm wondering if Power Query, or something similar, could achieve this. Thanks.29Views0likes2CommentsAdaptive Card not Displaying On Teams Mobile
Hey everyone, I've been messing with Power Automate to create Adaptive Cards after every day to update the team on how we're doing. It works perfectly on Desktop, however, some text is not visible on Mobile as seen in attached pictures. The first picture is how it displays on mobile, the second is how it displays on desktop. Changing my theme to light still does not show the numbers that should be there. I've attached the adaptive card json at the bottom, any help is appreciated! { "type": "AdaptiveCard", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "size": "Large", "weight": "Bolder", "text": "DC Data for Last Shipping Day ", "spacing": "Large", "horizontalAlignment": "Center", "color": "Good" }, { "type": "TextBlock", "text": "Great work! We shipped @{add(add(int(variables('Output')[0]['Orders Shipped']), int(variables('Output')[1]['Orders Shipped'])), int(variables('Output')[2]['Orders Shipped']))} orders.", "wrap": true, "size": "Medium", "horizontalAlignment": "Center" } ] }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "wrap": true, "text": "Wisconsin:\n\n", "size": "Large", "weight": "Bolder" }, { "type": "FactSet", "facts": [ { "title": "Orders Shipped:", "value": "@{variables('Output')[0]['Orders Shipped']}" }, { "title": "Orders Left to Ship:", "value": "@{variables('Output')[0]['Orders Left to Ship']}" }, { "title": "Overdue Orders:", "value": "@{variables('Output')[0]['Overdue Orders ']}" } ] } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Nevada:", "wrap": true, "size": "Large", "weight": "Bolder" }, { "type": "FactSet", "facts": [ { "title": "Orders Shipped:", "value": "@{variables('Output')[1]['Orders Shipped']}", "color": "Accent" }, { "title": "Orders Left to Ship:", "value": "@{variables('Output')[1]['Orders Left to Ship']}" }, { "title": "Overdue Orders:", "value": "@{variables('Output')[1]['Overdue Orders ']}" } ] } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "Mississippi:", "wrap": true, "size": "Large", "weight": "Bolder" }, { "type": "FactSet", "facts": [ { "title": "Orders Shipped:", "value": "@{variables('Output')[2]['Orders Shipped']}" }, { "title": "Orders Left to Ship:", "value": "@{variables('Output')[2]['Orders Left to Ship']}" }, { "title": "Overdue Orders:", "value": "@{variables('Output')[2]['Overdue Orders ']}" } ] } ] } ] }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "text": "TOTAL PERCENTAGE", "size": "Large", "color": "Accent", "maxLines": 3, "wrap": true, "horizontalAlignment": "Center" } ], "verticalContentAlignment": "Center" }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "wrap": true, "text": " @{body('Format_number')}%", "size": "ExtraLarge", "horizontalAlignment": "Center", "color": "Good" } ], "verticalContentAlignment": "Center" }, { "type": "Column", "width": "stretch", "items": [ { "type": "Image", "url": "imageURL", "horizontalAlignment": "Center", "spacing": "None" } ], "verticalContentAlignment": "Center", "backgroundImage": { "verticalAlignment": "Center", "horizontalAlignment": "Center" }, "horizontalAlignment": "Center" } ] } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.3" }Solved12KViews1like20CommentsQuest 4 - I want to connect my AI prototype to external data using RAG
In Quest 4 of the JS AI Build-a-thon, you’ll integrate Retrieval-Augmented Generation (RAG) to give your AI apps access to external data like PDFs. You’ll explore embeddings, vector stores, and how to use the pdf-parse library in JavaScript to build more context-aware apps — with challenges to push you even further.Quest 7: Create an AI Agent with Tools from an MCP Server
In Quest 7 of the JS AI Build-a-thon, developers explore how to create AI agents that use real tools through the Model Context Protocol (MCP). With the MCP TypeScript SDK and AI Toolkit in VS Code, you’ll connect your agent to a custom MCP server and give it real capabilities, like accessing your system's OS info. This builds on agentic development and introduces tooling practices that reflect how modern AI apps are built.