New Onedrive Embed Generated code does not include, Embed, AuthKey or resid values

Roger Senior 0 Reputation points
2025-01-20T14:25:10.3333333+00:00

I am trying to embed a small excel spreadsheet into a Wordpress.com page. I have done this for quite a few years without a problem but this year it has not worked.

Something has changed in the embed generated code from 12 months ago.

I change the excel spreadsheet every year and last year's code looked like this:

[office src="https://onedrive.live.com/embed?resid=BF1AED9EFA45B05E%2116053&authkey=%21AJ7RFnwjwpJwfsA&em=2&wdAllowInteractivity=False&ActiveCell='Sheet1'!A1&Item='Sheet1'!A1%3AV65&wdDownloadButton=True&wdInConfigurator=True&wdInConfigurator=True" width="700" height="750"]

This year the code looks like this:

<iframe

src="https://1drv.ms/x/c/bf1aed9efa45b05e/IQQo2YXC6Ll7QpoPowKL4RXJAYRvpvyQey2fz_kcoyWi6q8" width="402" height="346" frameborder="0" scrolling="no"></iframe>

If Wordpress struggles with iframes, I can understand why last years code worked by how do I now generate a similar code in Onedrive

I've tried a differnet browser, I've clicked on "Customise how this workbook will appear to others" altered sharing settings but nothing works.

From my observations the embed?, authkey and resid= are all missing from the new code and I'm sure that's the problem.

Can anyone shed any light on this problem?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,281 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 27,396 Reputation points Microsoft Vendor
    2025-01-21T02:10:27.44+00:00

    Hi,

    There have been many of feedback about this behavior from different users.

    About the shorter URL, please refer to this support article:

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/shorter-share-link-format

    It seems this is by design behavior, If you have any feedback or suggestion about this behavior, you can try to give a feedback to Microsoft about your requirement:

    https://support.microsoft.com/en-us/office/send-onedrive-feedback-594f538c-cb25-4079-b1f2-716d91d41bde

    Microsoft values your opinion. Your feedback goes directly to our engineers and helps us shape the future of Microsoft products and services for all our users.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.


  2. Matthew Smith 0 Reputation points
    2025-01-27T00:24:19.58+00:00

    Thanks Emi, do you have a solution specific to OneDrive?

    I am having the same issue. I have no way of getting a path that contains the authkey or resid=.

    There are a few threads on this issue but none solve the problem.

    I appreciate any help!

    0 comments No comments

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.