Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedJoin us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now
I have been trying to use the OneLake documentation for REST APIs to create a file without success.
Reference: https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api#onelake-and-adls-gen2-parity
See the detailed repro steps below,
-----
REPRO STEPS
Path | Value/ action |
Name | bc2adls |
Authentication > Redirect URIs (Web) | https://onelake.dfs.fabric.microsoft.com/BusinessCentralData/SandboxEnvironment.Lakehouse/Files/ |
Supported account types | Accounts in this organizational directory only (Contoso only - Single tenant) |
API Permissions > Configured permissions | Add the following permissions,
Grant admin content. |
Expose an API | Add a Scope OneLakeItem.Create with some text in the mandatory fields. Take a note of URL for this scope for use on the last step. |
EXPECTED: A new file called abc.txt is created under the Files folder of our SandboxEnvironment lakehouse as per the official OneLake doc.
ACTUAL: 401 Unauthorized response: Authentication Failed with Audience validation failed for audience '00000002-0000-0000-c000-000000000000'
I believe the Sas token is needed as well ?
@GeethaT-MSFT , @HimanshuS-msft : Could you kindly take a look at the above. Is there any step I am missing to make the REST API for Fabric work? Thanks!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the February 2025 Fabric update to learn about new features.
User | Count |
---|---|
48 | |
7 | |
5 | |
5 | |
5 |
User | Count |
---|---|
57 | |
13 | |
7 | |
7 | |
5 |