web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Is it possible to change the schema name of Azure SQL DB?

(0) ShareShare
ReportReport
Posted on by 40

Hi

When BYOD is executed, a table will be created in Azure SQL DB, but the schema is dbo.
how can I specify something other than dbo?
If can specify it, please tell me how to do it.

Please, some advises.

Thanks

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Akaishi,

    As far as know dbo is only supported. But you can try to change the default schema for the account used in the BYOD connection string in Azure SQL.

    What is the purpose of changing schema? If you want to restrict access by schemas you can create SQL views on top of the staging table in another schema.

  • Akaishi Profile Picture
    40 on at

    Hi Sergei,

    The purpose is to limit access privileges.

    I want to add a schema to BYOD and create two the same tables.

    For example,dbo.TestStaging, abc.TestStaging.

    Azure SQL Database is only support DBO?

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Akaishi,

    You can create new schemas in Azure SQL DB, but you should keep in my that dbo is reserved for BYOD integration. Or do you want to use the same DB for several F&O instances?

  • Akaishi Profile Picture
    40 on at

    Hi Sergei

    The purpose of the question was to find out how BYOD controls access to data linked to Azure SQL DB.I think that control by DB schema is common as access control to data, but I asked because I could not find a D365 standard function that specifies DB schema in BYOD.If It can not specify the DB schema with the D365 standard function and the default is dbo, I think that it is better to control access with the schema to View as your advised.In addition, we assume only one use of F & O that you asked.

    Thanks.

  • Waller Walker Profile Picture
    345 on at

    Sergei,

    Are you aware of another way to store data from 2 different env. in the same DB?

    Are you saying that we have no choice and the export always goes out to the dbo schema?

    Thank you.

  • Suggested answer
    Waller Walker Profile Picture
    345 on at

    Hey, you can set up the BYOD connection string with a DB login that has a different default schema than dbo.

    If you're looking to export data from 2 env. to the same DB:

    community.dynamics.com/.../1247385

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans