Share via

remove read only from excel file in outlook attachment.

Rusk, Hal 001 0 Reputation points
2026-03-05T19:47:38.6266667+00:00

In PowerAutomate, I am trying to take an Excel attachment from Outlook and create a table from the file. How can I either disable the read only or make it so that "create table" can read the Excel spreadsheet?

Outlook | Windows | New Outlook for Windows | For business
0 comments No comments

2 answers

Sort by: Most helpful
  1. Jay Tr 11,095 Reputation points Microsoft External Staff Moderator
    2026-03-05T21:02:00.3866667+00:00

    Hi @Rusk, Hal 001

    Welcome to Microsoft Q&A forum. 

    I'm sorry that you're having a problem, and from the situation you've encountered, I deeply understand the inconvenience caused and apologize for it. 

    Since my current category primarily focuses on Microsoft 365 products, and your concern relates to Microsoft Power Automate, I want to ensure you receive the most accurate and effective assistance. For this reason, I recommend posting your question in the Microsoft Power Platform Community Forum Thread. In this forum, you'll get the most qualified group of respondents, and other partners who read the forums regularly can share their knowledge or learn from your interaction.       

    User's image

    I apologize for redirecting you to a different community, as the members of this category focus on Microsoft 365 concerns and have limited knowledge about Power Automate. To help you get quicker and better assistance, I am guiding you to the appropriate resource.     

    As a forum moderator, I genuinely wish I could directly access your account or delve into the backend systems to diagnose and fix this for you. However, our role here is limited to providing general guidance and solutions that can be applied by users.  

    Thank you once again for your precious time and engagement. Wishing you a great day ahead.  


    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.     

    0 comments No comments

  2. Q&A Assist
    2026-03-05T19:48:03.7133333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Power Automate cannot change an attachment’s read-only status inside Outlook; the Excel file must be writable at the file system or connection level before the Create table action can edit it.

    Use these approaches:

    1. Ensure the Excel file itself is not read-only
      If the attachment is saved to disk (for example by a prior Power Automate step or manually), clear the read-only attribute so it is writable:
      • In Windows File Explorer, right-click the saved .xlsx file > Properties.
      • In the General tab, make sure Read-only is unchecked, then select OK.
        This aligns with the requirement that “the file is not writable” and that the read-only attribute must be removed before changes can be made.
    2. Avoid opening/saving the workbook as read-only in your connection
      When Excel is accessed programmatically (for example via ODBC or similar), read-only is often the default and prevents updates:
      • The Excel driver’s default is ReadOnly for connections; to edit, the connection must explicitly allow writes.
      • Ensure any connection string or connector configuration does not force read-only. For example, when using an ODBC-style connection, include an option equivalent to ReadOnly=0 so the workbook is open for updates.
    3. Check for security/Protected View scenarios
      If the attachment originates from email or the internet, it may be opened in a protected or read-only mode for security reasons. In those cases, the file must be:
      • Saved to a trusted location (such as a SharePoint or OneDrive library where the account has edit rights), and
      • Opened there by Power Automate so that it is not in Protected View or otherwise locked.

    Once the file is stored in a location where it is not marked read-only and the connection does not enforce read-only, the Create table action can read and write to the Excel spreadsheet.


    References:

Your answer

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