<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug in Fabric API SDK - Creating Azure SQL Mirror Database in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864960#M63665</link>
    <description>&lt;P&gt;Thanks for the reply Amos. Under Tenant Settings and "Users can create fabric items" we have a security group which includes the service principal used when creating the mirror.&amp;nbsp; In the fabric capacity settings, under "delegated tenant settings", we do not have any of the overrides in use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any specific settings that might impact this working. With it working on a trial licence that would indicate an issue with the setup I agree.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2025 11:36:25 GMT</pubDate>
    <dc:creator>JAnder</dc:creator>
    <dc:date>2025-11-03T11:36:25Z</dc:date>
    <item>
      <title>Bug in Fabric API SDK - Creating Azure SQL Mirror Database</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864802#M63658</link>
      <description>&lt;P&gt;When creating a mirrored database using a test licence on the workspace, everything works as expected. However, when changing to a fabric licence I get the below error. I have tried scaling up to a F32 sku and have the same problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;On any sku from F2 to F32 I am able to create the mirrored database in the UI, just not via this API SDK. We like to have the service principal own all the workspace objects so using the API is quite important to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using v1.0.0 of&amp;nbsp;Microsoft.Fabric.Api Nuget package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      Content:
      {"requestId":"deb6b398-dc4f-4205-9330-f9eb9a09d8e5","errorCode":"FeatureNotAvailable","message":"The feature is not available"}

      Headers:
      Cache-Control: no-store, must-revalidate, no-cache
      Pragma: no-cache
      Transfer-Encoding: chunked
      x-ms-public-api-error-code: REDACTED
      Strict-Transport-Security: REDACTED
      X-Frame-Options: REDACTED
      X-Content-Type-Options: REDACTED
      RequestId: REDACTED
      Access-Control-Expose-Headers: REDACTED
      request-redirected: REDACTED
      home-cluster-uri: REDACTED
      Date: Mon, 03 Nov 2025 09:00:23 GMT
      Content-Type: application/json; charset=utf-8

      Azure.RequestFailedException: The feature is not available
      Status: 403 (Forbidden)

      Content:
      {"requestId":"deb6b398-dc4f-4205-9330-f9eb9a09d8e5","errorCode":"FeatureNotAvailable","message":"The feature is not available"}


 at Microsoft.Fabric.Api.MirroredDatabase.ItemsRestClient.CreateMirroredDatabaseAsync(Guid workspaceId, CreateMirroredDatabaseRequest createMirroredDatabaseRequest, CancellationToken cancellationToken) in /_/SDKs/csharp/Generated/MirroredDatabase/ItemsRestClient.cs:line 211
         at Microsoft.Fabric.Api.MirroredDatabase.ItemsClient.CreateMirroredDatabaseAsync(Guid workspaceId, CreateMirroredDatabaseRequest createMirroredDatabaseRequest, CancellationToken cancellationToken) in /_/SDKs/csharp/Generated/MirroredDatabase/ItemsClient.cs:line 94&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 09:48:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864802#M63658</guid>
      <dc:creator>JAnder</dc:creator>
      <dc:date>2025-11-03T09:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Fabric API SDK - Creating Azure SQL Mirror Database</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864880#M63664</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/322179"&gt;@JAnder&lt;/a&gt;&amp;nbsp;I suggest you make sure that the admin switch for creating items is enabled in Fabric's admin portal.&lt;/P&gt;&lt;P&gt;The item type you are trying to create is a GA item, so there's an admin switch that controls whether Fabric GA items can be created by users in the tenant.&lt;/P&gt;&lt;P&gt;There's also a possibility for capacity admins to override the tenant level configuration for a specific capacity,so you can check there as well.&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/admin/fabric-switch" target="_blank"&gt;Enable Microsoft Fabric for your organization - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 10:43:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864880#M63664</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2025-11-03T10:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Fabric API SDK - Creating Azure SQL Mirror Database</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864960#M63665</link>
      <description>&lt;P&gt;Thanks for the reply Amos. Under Tenant Settings and "Users can create fabric items" we have a security group which includes the service principal used when creating the mirror.&amp;nbsp; In the fabric capacity settings, under "delegated tenant settings", we do not have any of the overrides in use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any specific settings that might impact this working. With it working on a trial licence that would indicate an issue with the setup I agree.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 11:36:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864960#M63665</guid>
      <dc:creator>JAnder</dc:creator>
      <dc:date>2025-11-03T11:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Fabric API SDK - Creating Azure SQL Mirror Database</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864979#M63667</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/322179"&gt;@JAnder&lt;/a&gt;&amp;nbsp;Assuming the Service Principal is part of the security groups which the admin switch is enabled for them I don't have any other ideas for configurations that might be missing.&lt;/P&gt;&lt;P&gt;I did see issues in the past where Fabric didn't resolve correctly security groups memberships for users, especially service principals.&lt;/P&gt;&lt;P&gt;I don't know if a trial license doesn't require the admin switch to be enabled for creating items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest (if possible) to temporarily enable the&amp;nbsp;&lt;SPAN&gt;"Users can create fabric items"&lt;/SPAN&gt; setting for the entire organization and try to see if the issue is indeed related to that setting. Note that you might have to wait some time for the change to take affect.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 11:53:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4864979#M63667</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2025-11-03T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Fabric API SDK - Creating Azure SQL Mirror Database</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4865079#M63674</link>
      <description>&lt;P&gt;Thanks again Amos, it looks like it may have been a replication problem. I switched to full organisation can create items and it worked, but then I switched back to the groups and it worked again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 12:44:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bug-in-Fabric-API-SDK-Creating-Azure-SQL-Mirror-Database/m-p/4865079#M63674</guid>
      <dc:creator>JAnder</dc:creator>
      <dc:date>2025-11-03T12:44:51Z</dc:date>
    </item>
  </channel>
</rss>

