Is there any MS Graph API to read phone number assigned to Teams user for Direct Routing?
Please go through Get a user. It returns a default set of properties businessPhones, displayName, givenName, id, mobilePhone, officeLocation etc.
Edit :
Please go through Get-CsOnlineTelephoneNumber to retrieve telephone numbers from the Business Voice Directory. Similar question was asked in this Where to find the phone number assigned to a MS Teams user?
Related
I'm trying to obtain data from Service Cloud Salesforce but when I select the table in SSMS, the data is all NULL, so probably I'm not specifying the right columns or table.
Salesforce Report Builder
Salesforce Source Editor (Visual Studio)
When I run the report in Salesforce I can see that the country and postal code data are filled in, but when I read the documentation, I don't find the main column "Country" neither "Mailing Zip/Postal Code".
For the Zip Code, in this example, since it's also filled in the data about Billing Postal Code, this one I could obtain in the extraction, but for the country I can't find a column named "country", only "BillingCountry" and "ShippingCountry", but these columns do not contain any information.
Documentation:
https://developer.salesforce.com/docs/atlas.en-us.234.0.object_reference.meta/object_reference/sforce_api_objects_account.htm
Can anyone help here? I need to add on the select in salesforce source editor (visual studio) the right column names to obtain the country and the zip code.
Thank you,
Your report mixes fields from Account and Contact joined together by Contact.AccountId = Account.Id. You could edit it and expand the left sidebar to see which field comes from which object.
Account has Billing and Shipping address (2 sets of fields with actual names becoming BillingCity, BillingStreet... And Contact has Mailing address and Other Address.
So that's 4 * 6 fields across 2 tables out of the box. Can be muddied up further if you have "Person Accounts" enabled (some contacts get paired up as 1:1 relation to account instead of 1:n, in something that behaves a bit like materialised view for MS SQL people?). Also admin could rename one of the fields (API Names of columns stay the same but you'd see different labels in report and UI), add custom address fields...
See how these queries work for you. Try them out in Salesforce Developer Console (in web UI), or VSCode first, not in that tool you have.
Pure contacts
SELECT Id, FirstName, LastName, MailingStreet, MailingCity, MailingPostalCode
FROM Contact
WHERE MailingPostalCode = '4465-613'
LIMIT 10
Pure accounts
SELECT Id, Name, BillingStreet, BillingCity, BillingPostalCode
FROM Contact
WHERE BillingPostalCode = '4465-613'
LIMIT 10
Now JOIN (for normal Salesforce, B2B, where Account is more like a company and Contact is more like employee)
SELECT Id, FirstName, LastName, MailingStreet, MailingCity, MailingPostalCode, Account.Name, Account.City
FROM Contact
WHERE MailingPostalCode = '4465-613' AND Account.BillingPostalCode = '4465-613'
LIMIT 10
And since your second screenshot looks like you do have person accounts (more like B2C model, with standalone "1 man companies" like freelancers, doctors working in multiple hospitals, students in education...) try this one too
SELECT Id, Name, BillingCity, BillingPostalCode, ShippingCity, ShippingPostalCode, PersonMailingCity, PersonMailingPostalCode, PersonOtherCity, PersonOtherPostalCode
FROM Account
WHERE IsPersonAccount = true
LIMIT 10
According to this document, the defaults for Azure AD user account passwords are as follows:
Account lockout duration: 30
Number of failed logon attempts allowed: 5
Reset failed logon attempts count after: 2 minutes
Maximum password age (lifetime): 90 days
The same document also details the steps to add a fine-grained policy. Checking the default policy that was created, it looks like this:
which shows that the Enforce maximum password age value is set to 36500.
Is the maximum password age actually 10 years? Or, is it just showing this value since it has not been set, and its actually 90 days, as per the Microsoft doc?
The default value of Maximum Password Age is 90 days as per Microsoft document but it is showing for you 36500 days because someone from member of the AAD DC Administrators group has created a custom password policy and it has applied to all users. That could be the reason you are seeing this as 36500 days.
Note: Password policies can only be applied to groups
Please refer the section of Create a custom password policy of the same document you were.
I made an Acces database where the user can enter the client name, the price he has to pay, etc. (it is a payment management database).
I want to make it so when the user inputs the price, it automatically puts (in another field) the price, but calculates the price + VAT.
How can I do this? Or Is this even possible?
Thank you in advance!
For that other field, use a ControlSource like:
=[Price]*(1+[VAT])
or, to avoid error for empty fields:
=Nz([Price])*(1+Nz([VAT]))
Suppose we want to develop a website. Key features:
home page (access for all) the main element on the page is the
sum of payments
registration and login page - mail address and password, account activation
the payment will be declared by the registered and logged in users through the form and a checkbox, when the checkbox is selected data should be uploaded to the server and saved if "pass verification" for example, do not exceed $ 10, each user in one day can only declare one payment
after possitive verification the sum from "number 1 above" is updated
additional features - user notification: when the last payment hasn't been made for more than six months, or if the total sum exceeds a certain level eg $ 1,000...
Is it possible that the whole solution would be based on angularfire? In particular:
the sum of payments - on main site the information about
the sum avaible for all visitors, so each time somebody visits the website
we will have to send request to Firebase to get all the records and
add the payments to finally show the sum on web site? With Angular we can do that?
Firebase enables queries/limits: e.g. last 20, but to get the whole amount you need to have knowledge of the previous value - in this case, increase in payments and visits will result in sending large amounts of data client side vs firebase - whether and how it can be optimized?
suppose that the activation of user account will require small payment
(paypal/transfer) is it possible to set account active when the
payment is done?
I have in app purchase in my app. I am testing a thai language device with a test account that is in the thai store. I have both English and thai in app purchase titles and descriptions.
SKProductsResponse (product details[localizedDescription, localizedTitle] of SKProduct)always returning in English.
What am I doing wrong?
My Test Device setup in the Thailand store with Thai as the language, but product details returning in english, i want to show user in thai format .
how it is possible, i tried so many way but i didn't find any solution till now.
You should create a test user account on iTunes Connect, and set it's iTune Store to Thailand. Then sign out your apple id from your device, but don't sign in with your test user account here. When you start purchasing your product, iTune account dialog will prompt you to sign in your Apple ID. After you sign in with your test account here, you should see the product details in Thai.
You can get more information in detail from here.